java.lang.NullPointerException

Hibernate JIRA | Dzmitry Petrushenka | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.hibernate.event.def.DefaultFlushEntityEventListener.checkNaturalId()
    2. Hibernate
      SessionImpl.managedFlush
      1. org.hibernate.event.def.DefaultFlushEntityEventListener.checkNaturalId(DefaultFlushEntityEventListener.java:112)
      2. org.hibernate.event.def.DefaultFlushEntityEventListener.getValues(DefaultFlushEntityEventListener.java:192)
      3. org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:143)
      4. org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
      5. org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99)
      6. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:49)
      7. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1028)
      8. org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:366)
      8 frames
    3. Hibernate
      JDBCTransaction.commit
      1. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
      1 frame
    4. example.bug1
      FooTest.main
      1. example.bug1.FooTest.main(FooTest.java:39)
      1 frame