| Summary: | [sirius,gmf] Impossible to find an interpreter - Could not find a session for model elemen... | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | EPP Error Reports <error-reports-inbox> | ||||
| Component: | Core | Assignee: | Laurent Redor <laurent.redor> | ||||
| Status: | CLOSED FIXED | QA Contact: | Belqassim Djafer <belqassim.djafer> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | belqassim.djafer, cedric.brun, laurent.redor | ||||
| Version: | 1.0.0 | Keywords: | triaged | ||||
| Target Milestone: | 3.0.0M4 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | trivial | ||||||
| Attachments: |
|
||||||
*** Bug 447946 has been marked as a duplicate of this bug. *** This looks like an actual problem which could be fixed. Sirius is not supposed to ends up in such situation, there might be another underlying problem. That being said, relying on the InterpreterRegistry is something we want to eradicate. Created attachment 248692 [details] Bug447945_ReproductionCase.zip: Use case for reproduction scenario Steps to reproduce: * Import the project from Bug447945_ReproductionCase.zip * Open the representation myDiag * Set the focus several second on the diagram, the "PopupBar" appears. * Open /Bug447945_ReproductionCase/My.ecore with the "Sample Model Ecore Editor" * Delete the package p1 and save * Go on the diagram MyDiag and set the focus several seconds on the diagram. KO: An error appears in the error log when the "PopupBar" is computed (same stack as in comment 0). For information, during the creation of the reproduction use case, I noticed that this problem is only true for creation tool for container. If you remove the "New package", there is no longer the problem. Verified on Sirius 3.0.0M6 Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0. |
Hello committers, we received a new error report for Eclipse 4.5.0.I20140918-0330. General Information: anonymous-id: 23fdd867-15aa-4d22-abcd-f13df6a1311e eclipse-build-id: 4.5.0.I20140918-0330 eclipse-product: org.eclipse.epp.package.modeling.product operating system: Windows8 6.2.0 (x86_64) - win32 java-runtime-version: 1.7.0_40-b43 The following plug-ins were present on the execution stack (*): 1. org.eclipse.core.databinding.observable_1.4.1.v20140910-2107 2. org.eclipse.core.databinding_1.4.100.v20140910-2107 3. org.eclipse.core.runtime_3.10.0.v20140724-1132 4. org.eclipse.e4.ui.workbench_1.2.0.v20140905-1352 5. org.eclipse.e4.ui.workbench.swt_0.12.100.v20140908-1525 6. org.eclipse.emf.transaction_1.8.0.201409241440 7. org.eclipse.emf_2.6.0.v20140929-0830 8. org.eclipse.equinox.app_1.3.200.v20130910-1609 9. org.eclipse.equinox.launcher_1.3.0.v20140415-2008 10. org.eclipse.gef_3.10.0.201409290206 11. org.eclipse.gmf.runtime.diagram.ui_1.8.0.201409241816 12. org.eclipse.gmf_1.7.0.201409241816 13. org.eclipse.jface_3.11.0.v20140822-0942 14. org.eclipse.recommenders.stacktraces.rcp_2.1.10.v20141001-1239 15. org.eclipse.sirius.diagram_1.0.0.201406040902 16. org.eclipse.sirius_1.0.0.201406040902 17. org.eclipse.sirius.diagram.ui_1.0.0.201406040902 18. org.eclipse.swt_3.104.0.v20140916-1012 19. org.eclipse.ui_3.107.0.v20140911-1616 20. org.eclipse.ui.ide.application_1.0.600.v20140909-1818 21. org.eclipse.ui.ide_3.10.100.v20140905-0917 Error Status: code: 0 plugin: org.eclipse.sirius_1.0.0.201406040902 message: Impossible to find an interpreter - Could not find a session for model element : org.eclipse.emf.ecore.impl.EPackageImpl@3cdc3f28 (name: ElevatorExample) (nsURI: null, nsPrefix: null) fingerprint: 3a87b34a exception class: java.lang.RuntimeException exception message: - number of children: 0 java.lang.RuntimeException: null at org.eclipse.sirius.tools.api.interpreter.InterpreterRegistry.getInterpreter(InterpreterRegistry.java:70) at org.eclipse.sirius.tools.api.interpreter.InterpreterUtil.getInterpreter(InterpreterUtil.java:39) at org.eclipse.sirius.diagram.tools.internal.command.builders.ContainerCreationCommandBuilder.buildCreateNodeCommandFromTool(ContainerCreationCommandBuilder.java:151) at org.eclipse.sirius.diagram.tools.internal.command.builders.ContainerCreationCommandBuilder.buildInDiagramCommand(ContainerCreationCommandBuilder.java:114) at org.eclipse.sirius.diagram.tools.internal.command.builders.ContainerCreationCommandBuilder.buildCommand(ContainerCreationCommandBuilder.java:100) at org.eclipse.sirius.diagram.tools.internal.command.UndoRedoCapableEMFCommandFactory.buildCreateContainerCommandFromTool(UndoRedoCapableEMFCommandFactory.java:212) at org.eclipse.sirius.diagram.ui.graphical.edit.policies.CreationUtil.getContainerCreationDescription(CreationUtil.java:234) at org.eclipse.sirius.diagram.ui.graphical.edit.policies.ContainerCreationEditPolicy.getCreateContainerOnDiagramCommand(ContainerCreationEditPolicy.java:104) at org.eclipse.sirius.diagram.ui.graphical.edit.policies.ContainerCreationEditPolicy.getCreateCommand(ContainerCreationEditPolicy.java:58) at org.eclipse.gef.editpolicies.ContainerEditPolicy.getCommand(ContainerEditPolicy.java:56) at org.eclipse.gmf.runtime.diagram.ui.editpolicies.ContainerEditPolicy.getCommand(ContainerEditPolicy.java:527) at org.eclipse.gef.editparts.AbstractEditPart.getCommand(AbstractEditPart.java:502) at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$1(GraphicalEditPart.java:1) at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$1.run(GraphicalEditPart.java:482) at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328) at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.getCommand(GraphicalEditPart.java:477) at org.eclipse.sirius.diagram.ui.edit.api.part.AbstractDDiagramEditPart.getCommand(AbstractDDiagramEditPart.java:409) at org.eclipse.gmf.runtime.diagram.ui.tools.PopupBarTool.getCommand(PopupBarTool.java:107) at org.eclipse.gmf.runtime.diagram.ui.tools.AbstractPopupBarTool.isCommandEnabled(AbstractPopupBarTool.java:96) at org.eclipse.gmf.runtime.diagram.ui.editpolicies.PopupBarEditPolicy$PopupBarLabelHandle.calculateEnabled(PopupBarEditPolicy.java:263) at org.eclipse.gmf.runtime.diagram.ui.editpolicies.PopupBarEditPolicy$PopupBarLabelHandle.<init>(PopupBarEditPolicy.java:170) at org.eclipse.gmf.runtime.diagram.ui.editpolicies.PopupBarEditPolicy.initPopupBars(PopupBarEditPolicy.java:780) at org.eclipse.gmf.runtime.diagram.ui.editpolicies.PopupBarEditPolicy.showDiagramAssistant(PopupBarEditPolicy.java:842) at org.eclipse.gmf.runtime.diagram.ui.editpolicies.DiagramAssistantEditPolicy$FocusListener.selectedStateChanged(DiagramAssistantEditPolicy.java:150) at org.eclipse.gef.editparts.AbstractEditPart.fireSelectionChanged(AbstractEditPart.java:436) at org.eclipse.gef.editparts.AbstractEditPart.setFocus(AbstractEditPart.java:1012) at org.eclipse.gef.ui.parts.GraphicalViewerImpl.handleFocusGained(GraphicalViewerImpl.java:123) at org.eclipse.gef.ui.parts.GraphicalViewerImpl$2.focusGained(GraphicalViewerImpl.java:276) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:139) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2841) at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2425) at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:5252) at org.eclipse.swt.widgets.Canvas.WM_SETFOCUS(Canvas.java:456) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4696) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5025) at org.eclipse.swt.internal.win32.OS.SetFocus(OS.java:-2) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1097) at org.eclipse.swt.widgets.Control.setSavedFocus(Control.java:3619) at org.eclipse.swt.widgets.Decorations.restoreFocus(Decorations.java:837) at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1670) at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2159) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:339) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1626) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2083) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5025) at org.eclipse.swt.internal.win32.OS.DestroyWindow(OS.java:-2) at org.eclipse.swt.widgets.Control.destroyWidget(Control.java:779) at org.eclipse.swt.widgets.Shell.destroyWidget(Shell.java:698) at org.eclipse.swt.widgets.Widget.release(Widget.java:826) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:454) at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:447) at org.eclipse.swt.widgets.Shell.dispose(Shell.java:715) at org.eclipse.jface.window.Window.close(Window.java:339) at org.eclipse.jface.dialogs.Dialog.close(Dialog.java:990) at org.eclipse.jface.wizard.WizardDialog.hardClose(WizardDialog.java:919) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:861) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.jface.window.Window.runEventLoop(Window.java:832) at org.eclipse.jface.window.Window.open(Window.java:808) at org.eclipse.recommenders.internal.stacktraces.rcp.LogListener$3.run(LogListener.java:165) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:637) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:580) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:141) 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:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) at org.eclipse.equinox.launcher.Main.main(Main.java:1438) Messages, stacktraces, and nested status objects may be shortened. Please visit http://dev.eclipse.org/recommenders/committers/confess/0.5/reports/54452342e4b073e552670047 for the complete error log. Some general information and guidelines about how to use this bug report: 1. Feel free to move this bug to your own product and components. Please note that this bug is only accessible to Eclipse committers. If you move this bug please make sure that it's still in the "Security Advisor" group. 2. The bug contents of the fields status, resolution, keywords, and whitelist are presented to reporters. If you needs more information, please set the keyword "needinfo". This will trigger a specialized dialog asking the user to provide further details. 3. Use the following resolutions for the following situations: * CLOSED / FIXED: This bug has been fixed. Please provide additional information in the whiteboard field. * CLOSED / WORKSFORME: Use this resolution if you can't reproduce this issue and request further information. Please use the whiteboard text to specify more details what a user should provide and how. * CLOSED / INVALID: Use this resolution if the reported problem is a 'user-configuration' problem. Please consider giving hints how to fix these issues in the whiteboard field. * CLOSED / NOT ECLIPSE: Use this if the problem is caused by another plugin not developed at Eclipse.org * CLOSED / MOVED: If this bug has been moved else where. Please provide more information (e.g. a link) in the whiteboard field. 4. Please remember that only committers can view and comment on this bug. You may, however, manually add the reporting user to the bug's cc list. But keep in mind that the report may contains sensitive information. 5. If you are missing a feature, please file a enhancement request here: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Recommenders.Incubator&component=Stacktraces Thank you for your assistance. Your friendly error-reports-inbox. -- * Note: The list of present bundles and their respective versions was calculated by package naming heuristics. This may or may not reflect reality.