StatefulPersistenceContext#getLoadedCollectionOwnerOrNull could NPE on missing CollectionEntry

Description

See also discussion on :

The missing CollectionEntry should be fixed in a better way, as use cases which trigger this won't be fixed by this change but at least they will get a slightly better exception.

Environment

None

Assignee

Unassigned

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Minor
Configure