java.lang.NullPointerException

Hibernate JIRA | Mathias Bogaert | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.hibernate.mapping.Table$ForeignKeyKey.equals()
    2. Hibernate
      Table$ForeignKeyKey.equals
      1. org.hibernate.mapping.Table$ForeignKeyKey.equals(Table.java:65)
      1 frame
    3. Java RT
      HashMap.get
      1. java.util.HashMap.eq(HashMap.java:277)
      2. java.util.HashMap.get(HashMap.java:326)
      2 frames
    4. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.mapping.Table.createForeignKey(Table.java:405)
      2. org.hibernate.mapping.SimpleValue.createForeignKeyOfEntity(SimpleValue.java:94)
      3. org.hibernate.mapping.Collection.createForeignKeys(Collection.java:350)
      4. org.hibernate.mapping.Collection.createAllKeys(Collection.java:358)
      5. org.hibernate.cfg.HbmBinder$SecondPass.doSecondPass(HbmBinder.java:2393)
      6. org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:861)
      7. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1049)
      7 frames
    5. Hibernate
      LocalSessionFactoryBean.afterPropertiesSet
      1. org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:678)
      2. org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:613)
      2 frames