This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!