• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibenate Session NullPointer Exception when using struts2-fullhibernatecore-plugin  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!