"persister" is null during validation with lazy collections

Description

A NullPointerException is thrown during delete when using an entity with lazy collections and tomcat-embed-el:10.1.8 on the classpath. The issue only occurs when a fresh entitymanager instance is used to delete the entity.

For a more detailled analysis please have a look at the discussion here:

A sample application showcasing the bug can be found here:

 

Activity

Show:

Jan Schatteman May 26, 2023 at 9:50 PM

Thanks for the reproducer!

Fixed

Details

Assignee

Reporter

Worked in

Sprint

Fix versions

Affects versions

Priority

Created May 26, 2023 at 6:44 AM
Updated August 5, 2023 at 10:16 AM
Resolved June 22, 2023 at 9:31 AM