java.lang.NullPointerException

This exception has no message.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web123904

  • via Terracotta by unnutz, 11 months ago
    This exception has no message.
  • This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.NullPointerException at org.hibernate.event.def.DefaultInitializeCollectionEventListener.initializeCollectionFromCache(DefaultInitializeCollectionEventListener.java:87) at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:48) at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1430) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:176) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:48) at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:134) at org.hibernate.type.CollectionType.getElementsIterator(CollectionType.java:197) at org.hibernate.type.CollectionType.getElementsIterator(CollectionType.java:189) at org.hibernate.engine.Cascades.getAllElementsIterator(Cascades.java:974) at org.hibernate.engine.Cascades.access$100(Cascades.java:33) at org.hibernate.engine.Cascades$1.getCascadableChildrenIterator(Cascades.java:72) at org.hibernate.engine.Cascades.cascadeCollection(Cascades.java:893) at org.hibernate.engine.Cascades.cascadeAssociation(Cascades.java:792) at org.hibernate.engine.Cascades.cascade(Cascades.java:720) at org.hibernate.engine.Cascades.cascade(Cascades.java:847) at org.hibernate.engine.Cascades.cascade(Cascades.java:819) at org.hibernate.event.def.DefaultDeleteEventListener.cascadeBeforeDelete(DefaultDeleteEventListener.java:248) at org.hibernate.event.def.DefaultDeleteEventListener.deleteEntity(DefaultDeleteEventListener.java:201) at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:109) at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:579) at test.base.TestBase.delete(TestBase.java:109)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.