Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

nullPointerException on ejb persist  RSS feed

 
jaki jane
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All. Im getting nullpointer exception on trying to persist an entity bean. I tried printing all the values used in inserting and none of them returns a null. I even tried inserting using a Query object only to get the same error again. Kindly help me with this.

Error:
ejbTimeout: javax.ejb.EJBException: java.lang.NullPointerException
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jake jake, please check your private messages.
 
Bill Shirley
Ranch Hand
Posts: 457
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://faq.javaranch.com/java/TellTheDetails

you'll want to become familiar with your debugger, and step into the code to best find out the cause
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!