This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Getting nullpointerexception while persisting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Getting nullpointerexception while persisting" Watch "Getting nullpointerexception while persisting" New topic

Getting nullpointerexception while persisting

sinan dogan

Joined: May 21, 2012
Posts: 2
Hi. I am getting nullpointer exception while persisting an object. I checked values in debug, all of objects is loadded but when step came entitymanager.persist that exception has been throwing.

my xhtml page :

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Not the greatest help but check:
Make sure that partStockFacade and partCatalog aren't null.
sinan dogan

Joined: May 21, 2012
Posts: 2
Thanks. There was a problem at h:from. I have tried a4j:from and the problem has solved.
Don't get me started about those stupid light bulbs.
subject: Getting nullpointerexception while persisting
jQuery in Action, 3rd edition