Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Object Relational Mapping and the fly likes Hibernate  - Unable to instantiate default tuplizer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate  - Unable to instantiate default tuplizer" Watch "Hibernate  - Unable to instantiate default tuplizer" New topic
Author

Hibernate - Unable to instantiate default tuplizer

Diego Creador
Greenhorn

Joined: Jan 10, 2011
Posts: 24
Hello friends!


Im having a problem with HIbernate while I tried to inicialize the application, Im pretty new to HIbernate, so I dont have to much idea what could it be.


Here I copy the error trace, and below, the method which have the problem


14:22:25,561 ERROR [jsp:154] java.lang.NullPointerException
at com.aiti.util.OpenSessionOnRestoreViewListener.initConnection(OpenSessionOnRestoreViewListener.java:42)
at com.aiti.util.OpenSessionOnRestoreViewListener.beforePhase(OpenSessionOnRestoreViewListener.java:26)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
....


And the function is




I appreciate any help! Thanks in advance

Regards
Diego
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Which class is com.aiti.util.OpenSessionOnRestoreViewListener? I've never heard of it and can't find it.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate - Unable to instantiate default tuplizer