java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error en propiedades con @Version
    via openxava by emilts
    ,
  • Writing a test which must fail
    via unitils by c_inconnu
    ,
    • java.lang.NullPointerException at org.hibernate.type.IntegerType.next(IntegerType.java:82) at org.hibernate.engine.Versioning.increment(Versioning.java:131) at org.hibernate.event.def.DefaultFlushEntityEventListener.getNextVersion(DefaultFlushEntityEventListener.java:387) at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:279) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:151) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:99) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:49) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027) at org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:304) at org.openxava.model.impl.JPAPersistenceProvider.flush(JPAPersistenceProvider.java:72) at org.openxava.model.impl.MapFacadeBean.commitTransaction(MapFacadeBean.java:74) at org.openxava.model.impl.MapFacadeBean.setValues(MapFacadeBean.java:192) at org.openxava.model.MapFacade.setValues(MapFacade.java:598) at org.openxava.actions.SaveAction.execute(SaveAction.java:39) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:356) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:273) at org.openxava.controller.ModuleManager.execute(ModuleManager.java:237)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    tvrmsmith
    9 times, last one,
    Unknown visitor2 times, last one,