eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[pivot] IllegalStateException in CompletePackageImpl.getCompleteModel (516) #1618

Open eclipse-ocl-bot opened 2 months ago

eclipse-ocl-bot commented 2 months ago

| --- | --- | | Bugzilla Link | 478953 | | Status | UNCONFIRMED | | Importance | P3 minor | | Reported | Oct 03, 2015 09:53 EDT | | Modified | Oct 03, 2015 09:57 EDT | | Reporter | EPP Error Reports |

Description

The following incident was reported via the automated error reporting:

code:                   0\
plugin:                 org.eclipse.e4.ui.workbench_1.3.0.v20150531-1948\
message:                \
fingerprint:            41dcf593\
exception class:        java.lang.IllegalStateException\
exception message:      -\
number of children:     0\
\
java.lang.IllegalStateException: null\
at org.eclipse.ocl.pivot.internal.CompletePackageImpl.getCompleteModel(CompletePackageImpl.java:516)\
at org.eclipse.ocl.pivot.internal.complete.CompleteClasses.getCompleteModel(CompleteClasses.java:404)\
at org.eclipse.ocl.pivot.internal.complete.CompleteClasses.didRemoveClass(CompleteClasses.java:325)\
at org.eclipse.ocl.pivot.internal.complete.CompleteClasses.didRemovePackage(CompleteClasses.java:334)\
at org.eclipse.ocl.pivot.internal.CompletePackageImpl.didRemovePartialPackage(CompletePackageImpl.java:476)\
at org.eclipse.ocl.pivot.internal.complete.PartialPackages.didRemove(PartialPackages.java:138)\
at org.eclipse.ocl.pivot.internal.complete.PartialPackages.didRemove(PartialPackages.java:1)\
at org.eclipse.emf.common.util.BasicEList.remove(BasicEList.java:616)\
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doRemove(NotifyingListImpl.java:756)\
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.remove(NotifyingListImpl.java:737)\
at org.eclipse.emf.common.util.AbstractEList.remove(AbstractEList.java:462)\
at org.eclipse.ocl.pivot.internal.complete.AbstractCompletePackages.didRemovePackage(AbstractCompletePackages.java:111)\
at org.eclipse.ocl.pivot.internal.CompleteModelImpl.didRemoveNestedPackage(CompleteModelImpl.java:452)\
at org.eclipse.ocl.pivot.internal.complete.PartialModels.didRemove(PartialModels.java:93)\
at org.eclipse.ocl.pivot.internal.complete.PartialModels.didRemove(PartialModels.java:85)\
at org.eclipse.ocl.pivot.internal.complete.PartialModels.didRemove(PartialModels.java:1)\
at org.eclipse.emf.common.util.BasicEList.remove(BasicEList.java:616)\
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doRemove(NotifyingListImpl.java:756)\
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.remove(NotifyingListImpl.java:737)\
at org.eclipse.emf.common.util.AbstractEList.remove(AbstractEList.java:462)\
at org.eclipse.ocl.pivot.internal.ecore.es2as.AbstractExternal2AS.dispose(AbstractExternal2AS.java:59)\
at org.eclipse.ocl.pivot.internal.manager.PivotMetamodelManager.dispose(PivotMetamodelManager.java:740)\
at org.eclipse.ocl.pivot.utilities.AbstractEnvironmentFactory.disposeInternal(AbstractEnvironmentFactory.java:401)\
at org.eclipse.ocl.pivot.utilities.AbstractEnvironmentFactory.dispose(AbstractEnvironmentFactory.java:394)\
at org.eclipse.ocl.pivot.utilities.AbstractEnvironmentFactory.detach(AbstractEnvironmentFactory.java:384)\
at org.eclipse.ocl.pivot.utilities.OCL.dispose(OCL.java:349)\
at org.eclipse.ocl.xtext.base.ui.model.BaseDocumentProvider.disconnected(BaseDocumentProvider.java:43)\
at org.eclipse.ui.texteditor.AbstractDocumentProvider.disconnect(AbstractDocumentProvider.java:440)\
at org.eclipse.ui.texteditor.AbstractTextEditor.disposeDocumentProvider(AbstractTextEditor.java:4537)\
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.disposeDocumentProvider(AbstractDecoratedTextEditor.java:1463)\
at org.eclipse.ui.texteditor.AbstractTextEditor.dispose(AbstractTextEditor.java:4419)\
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.dispose(AbstractDecoratedTextEditor.java:383)\
at org.eclipse.ui.editors.text.TextEditor.dispose(TextEditor.java:93)\
at org.eclipse.xtext.ui.editor.XtextEditor.dispose(XtextEditor.java:563)\
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.invalidate(CompatibilityPart.java:238)\
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.destroy(CompatibilityPart.java:394)\
at sun.reflect.GeneratedMethodAccessor156.invoke(null:-1)\
at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)\
at java.lang.reflect.Method.invoke(null:-1)\
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)\
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)\
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879)\
at org.eclipse.e4.core.internal.di.InjectorImpl.uninject(InjectorImpl.java:182)\
at org.eclipse.e4.core.internal.di.Requestor.uninject(Requestor.java:164)\
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:84)\
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)\
at org.eclipse.e4.core.internal.contexts.EclipseContext.removeListenersTo(EclipseContext.java:473)\
at org.eclipse.e4.core.contexts.ContextInjectionFactory.uninject(ContextInjectionFactory.java:144)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:923)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$1(PartRenderingEngine.java:842)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$3.run(PartRenderingEngine.java:837)\
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:821)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.subscribeTopicToBeRendered(PartRenderingEngine.java:161)\
at sun.reflect.GeneratedMethodAccessor136.invoke(null:-1)\
at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)\
at java.lang.reflect.Method.invoke(null:-1)\
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)\
at org.eclipse.e4.core.di.internal.extensions.EventObjectSupplier$DIEventHandler.handleEvent(EventObjectSupplier.java:83)\
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)\
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)\
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)\
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)\
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)\
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)\
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)\
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)\
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)\
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)\
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)\
at org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl.setToBeRendered(UIElementImpl.java:303)\
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.hidePart(PartServiceImpl.java:1302)\
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.hidePart(PartServiceImpl.java:1236)\
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.closePart(StackRenderer.java:1278)\
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.access$4(StackRenderer.java:1260)\
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$11.close(StackRenderer.java:1145)\
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1921)\
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:335)\
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)\
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)\
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)\
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)\
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)\
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)\
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)\
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)\
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)\
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\
at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)\
at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)\
at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)\
at java.lang.reflect.Method.invoke(null:-1)\
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)\
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)\
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)\

\

General Information:

reported-by:      \
anonymous-id:     5c27e0a7-0d5a-458f-b82d-2d68e13711b6\
eclipse-build-id: 4.5.0.I20150603-2000\
eclipse-product:  org.eclipse.epp.package.jee.product\
operating system: Windows8 6.2.0 (x86_64) - win32\
jre-version:      1.8.0_25-b18

The following plug-ins were present on the execution stack (*):

  1. org.eclipse.core.databinding.observable_1.5.0.v20150422-0725
  2. org.eclipse.core.databinding_1.5.0.v20150422-0725
  3. org.eclipse.core.runtime_3.11.0.v20150405-1723
  4. org.eclipse.e4.core.contexts_1.4.0.v20150421-2214
  5. org.eclipse.e4.core.di_1.5.0.v20150421-2214
  6. org.eclipse.e4.core.di.extensions_0.13.0.v20150421-2214
  7. org.eclipse.e4.ui.services_1.2.0.v20150422-0725
  8. org.eclipse.e4.ui.workbench_1.3.0.v20150531-1948
  9. org.eclipse.e4.ui.workbench.renderers.swt_0.13.0.v20150603-0857
  10. org.eclipse.e4.ui.workbench.swt_0.13.0.v20150504-0621
  11. org.eclipse.emf.common_2.11.0.v20150512-0501
  12. org.eclipse.emf_2.6.0.v20150601-0402
  13. org.eclipse.equinox.app_1.3.300.v20150423-1356
  14. org.eclipse.equinox.event_1.3.100.v20140115-1647
  15. org.eclipse.equinox.launcher_1.3.100.v20150511-1540
  16. org.eclipse.ocl.pivot_1.0.0.v20150603-1503
  17. org.eclipse.ocl_3.5.0.v20150521-1211
  18. org.eclipse.ocl.xtext.base.ui_1.0.0.v20150602-1214
  19. org.eclipse.ocl.xtext.base_1.0.0.v20150606-1159
  20. org.eclipse.osgi_3.10.100.v20150529-1857
  21. org.eclipse.swt_3.104.0.v20150528-0211
  22. org.eclipse.ui_3.107.0.v20150507-1945
  23. org.eclipse.ui.editors_3.9.0.v20150213-1939
  24. org.eclipse.ui.ide.application_1.1.0.v20150422-0725
  25. org.eclipse.ui.ide_3.11.0.v20150510-1749
  26. org.eclipse.xtext.ui_2.8.4.v201508050135
  27. org.eclipse.xtext_2.8.4.v201508050135

Please note that:

Other Resources:

Thank you for your assistance.\ Your friendly error-reports-inbox.

This bug was created on behalf of ed@xxxxxxxxxxxx.

eclipse-ocl-bot commented 2 months ago

By Ed Willink on Oct 03, 2015 09:57

The plugin combination is a bit smelly: Xtext 2.8.4 (very new) but Pivot 1.0.0 (no updates).

But the problem looks suspicious; an orderly dispose/remove is occurring unsuccessfully. Should not fail. But it's probably just a gratuitous error while closing. i.e. minor

It would be better to have an accelerated rather than orderly shutdown; an enhancement.