Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting nullpointerexception while persisting

 
sinan dogan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not the greatest help but check:
"#{partStockFacade.loadFromPartCatalog(partCatalogFacade.partCatalog)}"
Make sure that partStockFacade and partCatalog aren't null.
 
sinan dogan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. There was a problem at h:from. I have tried a4j:from and the problem has solved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic