Community
Participate
Working Groups
A concurrent modification exception occurs while consolidating the changes in a change recorder that is attached to objects with (unresolved) container proxies: Caused by: java.util.ConcurrentModificationException at org.eclipse.emf.common.util.AbstractEList$EIterator.checkModCount(AbstractEList.java:762) at org.eclipse.emf.common.util.AbstractEList$EIterator.doNext(AbstractEList.java:710) at org.eclipse.emf.common.util.AbstractEList$EIterator.next(AbstractEList.java:696) at org.eclipse.emf.ecore.change.util.ChangeRecorder.consolidateChanges(ChangeRecorder.java:231) The fix is to change the isOrphan(EObject) method like this: protected boolean isOrphan(EObject eObject) { return ((InternalEObject) eObject).eInternalContainer() == null && eObject.eResource() == null; }
The fix has been committed to CVS (head and maintenance).
The fix is available in maintenance build M201108291525 and integration build I201108291838.