Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

when I migrate from hibernate3.0 to 3.3 I got the NPE

 
Satyajit Bhadange
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When I updated hibernate3.jar to hibernate3.3.jar I got the following exception.

thanks
Satyjit


Exception in thread "main" java.lang.NullPointerException
at org.hibernate.mapping.Column.setName(Column.java:84)
at org.hibernate.cfg.HbmBinder.bindColumns(HbmBinder.java:1089)
at org.hibernate.cfg.HbmBinder.bindColumnsOrFormula(HbmBinder.java:1547)
at org.hibernate.cfg.HbmBinder.bindSimpleValue(HbmBinder.java:1143)
at org.hibernate.cfg.HbmBinder.bindSimpleId(HbmBinder.java:413)
at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:356)
at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:295)
at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:166)
at org.hibernate.cfg.Configuration.add(Configuration.java:702)
at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:537)
at org.hibernate.cfg.Configuration.addResource(Configuration.java:599)
at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1621)
at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568)
at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1462)
at org.hibernate.cfg.Configuration.configure(Configuration.java:1448)
at com.aurionpro.dealpro.commons.bootstrap.ApplicationContext.createHibernateSessionFactory(ApplicationContext.java:511)
at com.aurionpro.dealpro.commons.bootstrap.ApplicationContext.setProperties(ApplicationContext.java:167)
at com.aurionpro.dealpro.commons.bootstrap.BootStrapper.initializeApplicationContext(BootStrapper.java:68)
at com.aurionpro.dealpro.commons.bootstrap.BootStrapper.start(BootStrapper.java:75)
at com.aurionpro.dealpro.commons.bootstrap.Main.main(Main.java:6)

 
Venkatram Veerareddy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to enable console log for hibernate 3.3??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic