File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 25
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.
I agree. Here's the link:
subject: Hibernate - Unable to instantiate default tuplizer
It's not a secret anymore!