Community
Participate
Working Groups
Build Identifier: org.eclipse.uml2.common_1.5.0.v201005031530 The attached zip file contains a small junit test class that demonstrates how the exception occurs. Reproducible: Always Steps to Reproduce: 1. Run the attached junit test.
Created attachment 194030 [details] Junit test plugin to reproduce the problem.
Here is the stack trace of the exception as triggered by the junit test. org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBoundsException: index=1, size=1 at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:352) at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:484) at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.next(EContentsEList.java:565) at org.eclipse.emf.common.util.AbstractTreeIterator.next(AbstractTreeIterator.java:139) at org.eclipse.uml2.uml.internal.operations.ElementOperations.destroy(ElementOperations.java:1623) at org.eclipse.uml2.uml.internal.operations.ElementOperations.destroy(ElementOperations.java:1593) at org.eclipse.uml2.uml.internal.impl.ElementImpl.destroy(ElementImpl.java:567) at bug.example.DestroyTest.testDestroy(DestroyTest.java:94) ...
Created attachment 194031 [details] proposed patch
The proposed fix has been committed to CVS. I'll post an integration build later this week.
Integration build I201105021958 is now available. Please confirm that this build resolves the issue.
The fix is available in the RC1 build.
Closing for Indigo release.