Concurrent Modification Exception

Hi,

I have a strange bug. i am not sure but peraphs linked https://forum.jmix.io/t/onetoone-plan-fetch/3266/6.

When I store by SaveContext this exception occur ConcurrentModificationException.
Always at same point.

My entity is complex extend abstract supermapped class and contains an metaData (embedded).
My metadata have an entity who have a list with 2 entity
Discribe :
image

In save process at deleteAll part the unit of work contains only 5 elements inside of 7
image

At addAll I have :


![image|616x124](upload://wwK6qDwPnY82OJp3yvNdPoXExDH.png)

Caused by: java.util.ConcurrentModificationException: null

	at java.base/java.util.IdentityHashMap$IdentityHashMapIterator.nextIndex(IdentityHashMap.java:737)
	at java.base/java.util.IdentityHashMap$KeyIterator.next(IdentityHashMap.java:828)
	at java.base/java.util.AbstractCollection.addAll(AbstractCollection.java:335)
	at io.jmix.eclipselink.impl.EclipselinkPersistenceSupport$ContainerResourceHolder.getInstances(EclipselinkPersistenceSupport.java:430)
	at io.jmix.eclipselink.impl.EclipselinkPersistenceSupport.getInstances(EclipselinkPersistenceSupport.java:163)
	at io.jmix.eclipselink.impl.JpaDataStore.deleteAll(JpaDataStore.java:321)
	at io.jmix.core.datastore.AbstractDataStore.save(AbstractDataStore.java:225)
	at io.jmix.eclipselink.impl.JpaDataStore.save(JpaDataStore.java:227)
	at io.jmix.core.impl.UnconstrainedDataManagerImpl.saveContextToStore(UnconstrainedDataManagerImpl.java:257)
	at io.jmix.core.impl.UnconstrainedDataManagerImpl.save(UnconstrainedDataManagerImpl.java:216)

with inspector
first execution list contains 5 elements
image
second execution … 2 more
image

Gabriel

Seem be Lombok problem on my last entity but why Set not complete load
image

My list
image

have you suggestion ?