java.lang.NullPointerException

openxava | emilts | 7 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Setting many to many relation from non owning side

    Stack Overflow | 3 years ago | Dheeraj Joshi
    java.lang.NullPointerException

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.hibernate.type.IntegerType.next()
    2. Hibernate
      Versioning.increment
      1. org.hibernate.type.IntegerType.next(IntegerType.java:82)
      2. org.hibernate.engine.Versioning.increment(Versioning.java:131)
      2 frames
    3. Hibernate
      SessionImpl.flush
      1. org.hibernate.event.def.DefaultFlushEntityEventListener.getNextVersion(DefaultFlushEntityEventListener.java:387)
      2. org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:279)
      3. org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:151)
      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:1027)
      7 frames
    4. Hibernate EJB
      AbstractEntityManagerImpl.flush
      1. org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:304)
      1 frame
    5. org.openxava.model
      MapFacade.setValues
      1. org.openxava.model.impl.JPAPersistenceProvider.flush(JPAPersistenceProvider.java:72)
      2. org.openxava.model.impl.MapFacadeBean.commitTransaction(MapFacadeBean.java:74)
      3. org.openxava.model.impl.MapFacadeBean.setValues(MapFacadeBean.java:192)
      4. org.openxava.model.MapFacade.setValues(MapFacade.java:598)
      4 frames
    6. org.openxava.actions
      SaveAction.execute
      1. org.openxava.actions.SaveAction.execute(SaveAction.java:39)
      1 frame
    7. org.openxava.controller
      ModuleManager.execute
      1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:356)
      2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:273)
      3. org.openxava.controller.ModuleManager.execute(ModuleManager.java:237)
      3 frames