Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An internal error occurred during: "Validity View: Change Selection". java.lang.AssertionError #2334

Open
eclipse-ocl-bot opened this issue Sep 26, 2024 · 0 comments

Comments

@eclipse-ocl-bot
Copy link
Collaborator

| --- | --- |
| 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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant