This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting nullpointerexception while persisting

 
sinan dogan
Greenhorn
Posts: 2
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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