ConcurrentModificationException in CatalogImpl.java

Description

java.util.ConcurrentModificationException is thrown in CatalogImpl.java, event method.
The exception is thrown continuously until geoserver service becomes unresponsive and has to be restarted.
This issue has been reported in a production environment and the consequences are severe. Please find attached the stack trace and a unit test that helps to reproduce the reported exception.

Environment

None

Assignee

Andrea Aime

Reporter

Bahar Poursaeed

Triage

None

Fix versions

Affects versions

None

Priority

Low
Configure