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 Unable to instantiate default tuplizer [org.hibernate.tuple.entity.DynamicMapEntityTuplizer] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Unable to instantiate default tuplizer [org.hibernate.tuple.entity.DynamicMapEntityTuplizer]" Watch "Unable to instantiate default tuplizer [org.hibernate.tuple.entity.DynamicMapEntityTuplizer]" New topic

Unable to instantiate default tuplizer [org.hibernate.tuple.entity.DynamicMapEntityTuplizer]

Ameya Thakur
Ranch Hand

Joined: Feb 04, 2004
Posts: 43
Hello All,

I have started with a small project with JSF / Hibernate which I have tested on my local enviroment and it works fine locally when deployed on the server it is throwing the following exception for the 1st time and If I login again and try to save I get the NoClassDefFoundError

1st Error
java.lang.NullPointerException - Unable to instantiate default tuplizer [org.hibernate.tuple.entity.DynamicMapEntityTuplizer

2nd Error
Caused by:
java.lang.NoClassDefFoundError - Exception while invoking expression #{IOPPRegBean.authenticate}

I have ftp all the classes from local to the server and JSF naviagtion is working fine.. I get this error when from my handler class I try to get the Instance of HibernateUtil for saving the value.... we are been struggling like any thing from last 3 days to get it working on the server.....

Our site is hosted on and it is not a decdicated server....

Snippet from HibernatUtil l

Code ffrom the Handler which call HibernateUtil

Also the problem is only on the server... and everything is same even the database is same....

Any thoughts suggestion , details would be welcomed......

Thanks & Regards,
It is sorta covered in the JavaRanch Style Guide.
subject: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.DynamicMapEntityTuplizer]