NullPointerException in EnversPreCollectionRemoveEventListenerImpl of Hibernate Envers

Description

Dear Team,

Getting NullPointerException in EnversPreCollectionRemoveEventListenerImpl of Hibernate Envers. Kindly do the

Caused by: java.lang.NullPointerException
at org.hibernate.envers.event.EnversPreCollectionRemoveEventListenerImpl.onPreRemoveCollection(EnversPreCollectionRemoveEventListenerImpl.java:50) ~[hibernate-envers-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.action.internal.CollectionRemoveAction.preRemove(CollectionRemoveAction.java:143) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.action.internal.CollectionRemoveAction.execute(CollectionRemoveAction.java:104) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:393) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:385) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:305) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:339) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:62) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1211) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1661) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]
at org.hibernate.internal.CriteriaImpl.list(CriteriaImpl.java:374) ~[hibernate-core-4.2.7.Final.jar!/:4.2.7.Final]

Environment

DEV

Activity

Show:
Chris Cranford
April 1, 2020, 9:00 PM

hi , unfortunately Hibernate 4.2.7 is no longer supported. Could you please upgrade to one of the latest support releases and see whether that solves your problem?

Assignee

Chris Cranford

Reporter

laxmankumar kuppusamy

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Feedback Requested

2020/04/01

Worked in

4.2.7

Feedback Requested By

Chris Cranford

Components

Affects versions

Priority

Major
Configure