java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException:
at java.util.HashMap.eq(HashMap.java:277)
at java.util.HashMap.get(HashMap.java:326)
at org.hibernate.mapping.Table.createForeignKey(Table.java:405)
at org.hibernate.mapping.SimpleValue.createForeignKeyOfEntity(SimpleValue.java:94)
at org.hibernate.mapping.Collection.createForeignKeys(Collection.java:350)
at org.hibernate.mapping.Collection.createAllKeys(Collection.java:358)
at org.hibernate.cfg.HbmBinder$SecondPass.doSecondPass(HbmBinder.java:2393)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:861)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:678)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:613)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.