my dog learned polymorphism*
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

Hibernate - Unable to instantiate default tuplizer

Diego Creador

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(
at com.aiti.util.OpenSessionOnRestoreViewListener.beforePhase(
at com.sun.faces.lifecycle.Phase.handleBeforePhase(
at com.sun.faces.lifecycle.Phase.doPhase(
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(

And the function is

I appreciate any help! Thanks in advance

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.
It is sorta covered in the JavaRanch Style Guide.
subject: Hibernate - Unable to instantiate default tuplizer
Similar Threads
Hibernate exception
First Test App Not Working
Hibernate Dialect must be explicitly set
Hibernate JDBC connection problem
Problem with running my first Hibernate App