Community
Participate
Working Groups
Created attachment 182633 [details] The invalid model In the sample model in attachment I'm not able to delete any EClass because of invalid EGenerics in this model. A NPE is thrown : Caused by: java.lang.NullPointerException at org.eclipse.emf.ecore.impl.EClassImpl$1EGenericSuperTypeEList.equivalent(EClassImpl.java:441) at org.eclipse.emf.ecore.impl.EClassImpl$1EGenericSuperTypeEList.eliminateEquivalentDuplicates(EClassImpl.java:415) at org.eclipse.emf.ecore.impl.EClassImpl.getEAllGenericSuperTypes(EClassImpl.java:514) at org.eclipse.emf.ecore.impl.EClassImpl.eGet(EClassImpl.java:1012) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1021) at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1013) at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:409) at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.next(EContentsEList.java:565) at org.eclipse.emf.ecore.util.EcoreUtil$CrossReferencer.handleCrossReference(EcoreUtil.java:1696) at org.eclipse.emf.ecore.util.EcoreUtil$CrossReferencer.crossReference(EcoreUtil.java:1672) at org.eclipse.emf.ecore.util.EcoreUtil$UsageCrossReferencer.findAllUsage(EcoreUtil.java:2518) at org.eclipse.emf.ecore.util.EcoreUtil$UsageCrossReferencer.findAll(EcoreUtil.java:2601) at org.eclipse.emf.edit.command.DeleteCommand.findReferences(DeleteCommand.java:178) at org.eclipse.emf.edit.command.DeleteCommand.execute(DeleteCommand.java:137) at org.eclipse.emf.common.command.BasicCommandStack.execute(BasicCommandStack.java:84)
The fix is committed to CVS for 2.7.
The fixes are available in a published build.
Try again to resolve as fixed (and available in a build).
Oh, I guess I have to close them!