Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibenate Session NullPointer Exception when using struts2-fullhibernatecore-plugin

 
Sweta Chauhan
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have new to struts2-fullhibernatecore-plugin, using this with struts2.1.8.1 and Hibernate3.0 but whenever trying to use session I got error NullPointerException. Enen it was running successfully but don't have idea that now why it's throwing error NullPointerException as session createQuery line. I googled but not able to find any help for the cause.

UseDAOmpl.java


hibernate.cfg.xml


Any help will be very helpful.

Thnaks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic