aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Getting nullpointerexception while persisting" Watch "Getting nullpointerexception while persisting" New topic
Author

Getting nullpointerexception while persisting

sinan dogan
Greenhorn

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
Bartender

Joined: Nov 08, 2003
Posts: 3479

Not the greatest help but check:
"#{partStockFacade.loadFromPartCatalog(partCatalogFacade.partCatalog)}"
Make sure that partStockFacade and partCatalog aren't null.
sinan dogan
Greenhorn

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: http://aspose.com/file-tools
 
subject: Getting nullpointerexception while persisting