You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open test.mydsl.
Show Validity View.
Open test.ocl.
... unknown steps ...
Close test.ocl
ASsertion error occurs (with missing full details, although theyt are in the error log.)
java.lang.AssertionError
at org.eclipse.ocl.pivot.internal.manager.PivotMetamodelManager.(PivotMetamodelManager.java:324)
at org.eclipse.ocl.pivot.utilities.AbstractEnvironmentFactory.createMetamodelManager(AbstractEnvironmentFactory.java:465)
at org.eclipse.ocl.pivot.utilities.AbstractEnvironmentFactory.getMetamodelManager(AbstractEnvironmentFactory.java:889)
at org.eclipse.ocl.pivot.internal.ecore.es2as.AbstractExternal2AS.findAdapter(AbstractExternal2AS.java:41)
at org.eclipse.ocl.pivot.internal.ecore.es2as.Ecore2AS.basicGetAdapter(Ecore2AS.java:102)
at org.eclipse.ocl.pivot.internal.ecore.es2as.Ecore2AS.getAdapter(Ecore2AS.java:108)
at org.eclipse.ocl.pivot.internal.ecore.es2as.Ecore2AS.loadFromEcore(Ecore2AS.java:171)
at org.eclipse.ocl.pivot.internal.ecore.EcoreASResourceImpl.load(EcoreASResourceImpl.java:36)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
at org.eclipse.xtext.resource.XtextResourceSet.getResource(XtextResourceSet.java:248)
at org.eclipse.xtext.resource.SynchronizedXtextResourceSet.getResource(SynchronizedXtextResourceSet.java:33)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)
at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:209)
at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:269)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1516)
at org.eclipse.ocl.xtext.basecs.impl.PathElementCSImpl.getReferredElement(PathElementCSImpl.java:358)
at org.eclipse.ocl.xtext.basecs.impl.PathNameCSImpl.getReferredElement(PathNameCSImpl.java:406)
at org.eclipse.ocl.xtext.basecs.impl.ImportCSImpl.getReferredNamespace(ImportCSImpl.java:292)
at org.eclipse.ocl.xtext.basecs.impl.ImportCSImpl.eIsSet(ImportCSImpl.java:268)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObjectImpl.java:1280)
at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:437)
at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.next(EContentsEList.java:595)
at org.eclipse.emf.ecore.util.EcoreUtil.resolveCrossReferences(EcoreUtil.java:314)
at org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(EcoreUtil.java:308)
at org.eclipse.ocl.examples.emf.validation.validity.manager.ValidityManager.setInput(ValidityManager.java:661)
at org.eclipse.ocl.examples.emf.validation.validity.ui.view.ValidityView$ChangeSelectionJob.run(ValidityView.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
The text was updated successfully, but these errors were encountered:
| --- | --- |
| Bugzilla Link | 583088 |
| Status | NEW |
| Importance | P3 normal |
| Reported | Mar 27, 2024 08:14 EDT |
| Modified | Mar 27, 2024 08:14 EDT |
| See also | 583043 |
| Reporter | Ed Willink |
Description
Using the Bug 583043#c20 repro and with VM -ea
Open test.mydsl.
Show Validity View.
Open test.ocl.
... unknown steps ...
Close test.ocl
ASsertion error occurs (with missing full details, although theyt are in the error log.)
java.lang.AssertionError
at org.eclipse.ocl.pivot.internal.manager.PivotMetamodelManager.(PivotMetamodelManager.java:324)
at org.eclipse.ocl.pivot.utilities.AbstractEnvironmentFactory.createMetamodelManager(AbstractEnvironmentFactory.java:465)
at org.eclipse.ocl.pivot.utilities.AbstractEnvironmentFactory.getMetamodelManager(AbstractEnvironmentFactory.java:889)
at org.eclipse.ocl.pivot.internal.ecore.es2as.AbstractExternal2AS.findAdapter(AbstractExternal2AS.java:41)
at org.eclipse.ocl.pivot.internal.ecore.es2as.Ecore2AS.basicGetAdapter(Ecore2AS.java:102)
at org.eclipse.ocl.pivot.internal.ecore.es2as.Ecore2AS.getAdapter(Ecore2AS.java:108)
at org.eclipse.ocl.pivot.internal.ecore.es2as.Ecore2AS.loadFromEcore(Ecore2AS.java:171)
at org.eclipse.ocl.pivot.internal.ecore.EcoreASResourceImpl.load(EcoreASResourceImpl.java:36)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
at org.eclipse.xtext.resource.XtextResourceSet.getResource(XtextResourceSet.java:248)
at org.eclipse.xtext.resource.SynchronizedXtextResourceSet.getResource(SynchronizedXtextResourceSet.java:33)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)
at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:209)
at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:269)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1516)
at org.eclipse.ocl.xtext.basecs.impl.PathElementCSImpl.getReferredElement(PathElementCSImpl.java:358)
at org.eclipse.ocl.xtext.basecs.impl.PathNameCSImpl.getReferredElement(PathNameCSImpl.java:406)
at org.eclipse.ocl.xtext.basecs.impl.ImportCSImpl.getReferredNamespace(ImportCSImpl.java:292)
at org.eclipse.ocl.xtext.basecs.impl.ImportCSImpl.eIsSet(ImportCSImpl.java:268)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObjectImpl.java:1280)
at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:437)
at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.next(EContentsEList.java:595)
at org.eclipse.emf.ecore.util.EcoreUtil.resolveCrossReferences(EcoreUtil.java:314)
at org.eclipse.emf.ecore.util.EcoreUtil.resolveAll(EcoreUtil.java:308)
at org.eclipse.ocl.examples.emf.validation.validity.manager.ValidityManager.setInput(ValidityManager.java:661)
at org.eclipse.ocl.examples.emf.validation.validity.ui.view.ValidityView$ChangeSelectionJob.run(ValidityView.java:177)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
The text was updated successfully, but these errors were encountered: