Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate - Unable to instantiate default tuplizer

 
Diego Creador
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which class is com.aiti.util.OpenSessionOnRestoreViewListener? I've never heard of it and can't find it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic