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 REST with Spring (video course) this week in the Spring 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.
I agree. Here's the link:
subject: Getting nullpointerexception while persisting
It's not a secret anymore!