Hello!
I'd like to report a NullPointerException internal to hibernate.
The method org.hibernate.event.def.DefaultDeleteEventListener.
deleteTransientEntity(...) is called with a "null" as parameter for the "transientSet". This was passed down many levels from org.hibernate.engine.Cascade.
deleteOrphans(...), where the "null" is hard wired into the sources.
I hope you can fix this please.
Regards
Holger
Hibernate version: 3.2.6
Full stack trace of any exception that occurs:
Code:
java.lang.NullPointerException
at org.hibernate.event.def.DefaultDeleteEventListener.deleteTransientEntity(DefaultDeleteEventListener.java(Compiled Code))
at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java(Compiled Code))
at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java(Inlined Compiled Code))
at org.hibernate.impl.SessionImpl.delete(SessionImpl.java(Inlined Compiled Code))
at org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java(Inlined Compiled Code))
at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascade(Cascade.java(Compiled Code))
at org.hibernate.event.def.DefaultDeleteEventListener.cascadeBeforeDelete(DefaultDeleteEventListener.java(Compiled Code))
at org.hibernate.event.def.DefaultDeleteEventListener.deleteEntity(DefaultDeleteEventListener.java(Compiled Code))
at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java(Compiled Code))
at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java(Inlined Compiled Code))
at org.hibernate.impl.SessionImpl.delete(SessionImpl.java(Inlined Compiled Code))
at org.hibernate.engine.Cascade.deleteOrphans(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascade(Cascade.java(Compiled Code))
at org.hibernate.engine.Cascade.cascade(Cascade.java(Inlined Compiled Code))
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.cascadeOnUpdate(DefaultSaveOrUpdateEventListener.java(Compiled Code))
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performUpdate(DefaultSaveOrUpdateEventListener.java(Compiled Code))
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsDetached(DefaultSaveOrUpdateEventListener.java(Compiled Code))
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java(Compiled Code))
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java(Compiled Code))
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java(Inlined Compiled Code))
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java(Inlined Compiled Code))
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java(Compiled Code))
...