• 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
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!