java.lang.NullPointerException

openxava | mahc83 | 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.openxava.invoicing.model.Detail.onPersist()
  2. org.openxava.invoicing
    Detail.onPersist
    1. org.openxava.invoicing.model.Detail.onPersist(Detail.java:79)
    1 frame
  3. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  4. Hibernate EJB
    EJB3PersistEventListener.saveWithGeneratedId
    1. org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
    2. org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:80)
    3. org.hibernate.ejb.event.EntityCallbackHandler.preCreate(EntityCallbackHandler.java:49)
    4. org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:48)
    4 frames
  5. Hibernate
    SessionImpl.persist
    1. org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:154)
    2. org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:110)
    3. org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)
    4. org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:645)
    5. org.hibernate.impl.SessionImpl.persist(SessionImpl.java:619)
    6. org.hibernate.impl.SessionImpl.persist(SessionImpl.java:623)
    6 frames
  6. Hibernate EJB
    AbstractEntityManagerImpl.persist
    1. org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:220)
    1 frame
  7. org.openxava.model
    MapFacade.create
    1. org.openxava.model.impl.JPAPersistenceProvider.persist(JPAPersistenceProvider.java:38)
    2. org.openxava.model.impl.POJOPersistenceProviderBase.create(POJOPersistenceProviderBase.java:148)
    3. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:705)
    4. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:41)
    5. org.openxava.model.MapFacade.create(MapFacade.java:110)
    5 frames
  8. org.openxava.actions
    SaveAction.execute
    1. org.openxava.actions.SaveAction.execute(SaveAction.java:27)
    1 frame
  9. org.openxava.controller
    ModuleManager.execute
    1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:350)
    2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:267)
    3. org.openxava.controller.ModuleManager.execute(ModuleManager.java:231)
    3 frames