java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Nguyen Hau Giang, 1 year ago
This exception has no message.
via Hibernate JIRA by Nguyen Hau Giang, 1 year ago
This exception has no message.
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.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.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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.