Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 959685

Pages: 1
gaikwamca
Unregistered




i have some problem when i want to insert record
      #32707 - 06/05/06 07:41 AM

when control goes to the tx.commit(); then this exception should be thrown by server. i have used tomca5.5 and jdk1.5.0

java.lang.NullPointerException
net.sf.hibernate.impl.SessionImpl.preFlushEntities(SessionImpl.java:2253)
net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2018)
net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2007)
net.sf.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:57)
com.strutsrecipes.hibernate.actions.SearchAction.execute(SearchAction.java:64)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4845

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5