Hi,
 I am getting the simiklar kind of error. Can anybody help me in this?

java.lang.NullPointerException
        at 
org.jboss.hibernate.session.HibernateContext.getSession(HibernateContext.java:79)
        at login.ConnectionFactory.getSession(ConnectionFactory.java:45)
        at login.ItemService.addUser(ItemService.java:77)
        at login.LoginAction.execute(LoginAction.java:37)
        at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
        at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
        at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

The above error  i am getting .  I tried the same suing Initialcontext also
Which is also giving the same error. 

And also I found this log message before above error
16:58:49,187 WARN  [SessionFactoryObjectFactory] Not found: 
4028810903ea680b0103ea680fb00000


But when deploying which is giving the  following success message 

16:56:58,000 INFO  [Hibernate] SessionFactory successfully built and bound into 
JNDI [java:/hibernate/SessionFactory]

It seemz  JNDI name is not lookup to the SessionFactory .

Can anybody help me  in this . how to processed.

Vasu...

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877973#3877973

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877973


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to