Bug 446878 - [sirius,gmf] Impossible to find an interpreter - Could not find a session for model elemen... (err_grp: 3d703af6)
Summary: [sirius,gmf] Impossible to find an interpreter - Could not find a session for...
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
: 446879 446880 446881 446882 446883 446884 446885 449189 449190 449191 449192 449194 449195 449196 449197 449198 449199 449200 449201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-13 08:55 EDT by EPP Error Reports CLA
Modified: 2015-12-29 04:23 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2014-10-13 08:55:31 EDT
A related error report was submitted from the same user at the same time. 

General Information:
    anonymous-id:         274955aa-5e33-4cf4-ad30-492b3582b325
    eclipse-build-id:     4.5.0.I20140918-0330
    eclipse-product:      org.eclipse.epp.package.modeling.product
    operating system:     Windows7 6.1.0 (x86_64) - win32
    java-runtime-version: 1.8.0_20-b26

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.1.201408121314
    16. org.eclipse.sirius_1.0.1.201408121314
    17. org.eclipse.sirius.diagram.ui_1.0.1.201408121314
    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.1.201408121314
    message:                Impossible to find an interpreter - Could not find a session for model element : org.eclipse.emf.ecore.impl.EPackageImpl@6a524e84 (eProxyURI: platform:/resource/TP1/model/tP1.ecore#/)
    fingerprint:            3d703af6
    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.sirius.diagram.ui.graphical.edit.policies.SiriusPopupBarEditPolicy.addPopupBarEntryFor(SiriusPopupBarEditPolicy.java:169)
    at org.eclipse.sirius.diagram.ui.graphical.edit.policies.SiriusPopupBarEditPolicy.fillWithPaletteToolsInContainer(SiriusPopupBarEditPolicy.java:140)
    at org.eclipse.sirius.diagram.ui.graphical.edit.policies.SiriusPopupBarEditPolicy.fillBasedOnOpenPaletteDrawer(SiriusPopupBarEditPolicy.java:120)
    at org.eclipse.sirius.diagram.ui.graphical.edit.policies.SiriusPopupBarEditPolicy.fillPopupBarDescriptors(SiriusPopupBarEditPolicy.java:70)
    at org.eclipse.gmf.runtime.diagram.ui.editpolicies.PopupBarEditPolicy.populatePopupBars(PopupBarEditPolicy.java:601)
    at org.eclipse.gmf.runtime.diagram.ui.editpolicies.PopupBarEditPolicy.showDiagramAssistant(PopupBarEditPolicy.java:841)
    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)
Comment 1 EPP Error Reports CLA 2014-10-13 08:55:33 EDT
I've looked up the top-3 most similar bug groups and printed the closest bug of
each group below. This report may or may not be duplicate of those (low or sim-
ilar scores for all entries may indicate that this hasn't been reported yet):

>     1. Bug 446621: [wtp] Problems occurred when invoking code from plug-in: "org.eclipse.e4.ui.workben... (err_grp: 1b0fad65) – 124,7    
>     2. Bug 446868: [egit] Git team provider configuration has gone missing. (err_grp: 0c481ddb) – 119,4    
>     3. Bug 446584: [sirius] Impossible to find an interpreter - Could not find a session for model elemen... (err_grp: 10266088) – 61,2    


If this report actually is a duplicate of those, please mark it as such. This
information helps me to improve the recommendations further for the next issue.

Thank you for your assistance.
Your friendly error-reports-inbox.
Comment 2 Marcel Bruch CLA 2014-10-13 16:06:29 EDT
*** Bug 446879 has been marked as a duplicate of this bug. ***
Comment 3 Marcel Bruch CLA 2014-10-13 16:06:34 EDT
*** Bug 446880 has been marked as a duplicate of this bug. ***
Comment 4 Marcel Bruch CLA 2014-10-13 16:06:38 EDT
*** Bug 446881 has been marked as a duplicate of this bug. ***
Comment 5 Marcel Bruch CLA 2014-10-13 16:06:42 EDT
*** Bug 446882 has been marked as a duplicate of this bug. ***
Comment 6 Marcel Bruch CLA 2014-10-13 16:06:49 EDT
*** Bug 446883 has been marked as a duplicate of this bug. ***
Comment 7 Marcel Bruch CLA 2014-10-13 16:06:53 EDT
*** Bug 446884 has been marked as a duplicate of this bug. ***
Comment 8 Marcel Bruch CLA 2014-10-13 16:06:58 EDT
*** Bug 446885 has been marked as a duplicate of this bug. ***
Comment 9 Pierre-Charles David CLA 2014-10-21 02:55:07 EDT
It looks like the user's semantic model is inconsistent (see the unresolved proxy in the error message), but we should probably not blow up with a cryptic stack trace anyway in such cases. We could probably give a more meaningful message when the reason we could not find an interpreter is because of an unresolved proxy.
Comment 10 EPP Error Reports CLA 2014-10-29 09:58:17 EDT
*** Bug 449189 has been marked as a duplicate of this bug. ***
Comment 11 EPP Error Reports CLA 2014-10-29 09:58:18 EDT
*** Bug 449190 has been marked as a duplicate of this bug. ***
Comment 12 EPP Error Reports CLA 2014-10-29 09:58:19 EDT
*** Bug 449191 has been marked as a duplicate of this bug. ***
Comment 13 EPP Error Reports CLA 2014-10-29 09:58:20 EDT
*** Bug 449192 has been marked as a duplicate of this bug. ***
Comment 14 EPP Error Reports CLA 2014-10-29 10:12:10 EDT
*** Bug 449194 has been marked as a duplicate of this bug. ***
Comment 15 EPP Error Reports CLA 2014-10-29 10:12:11 EDT
*** Bug 449195 has been marked as a duplicate of this bug. ***
Comment 16 EPP Error Reports CLA 2014-10-29 10:12:12 EDT
*** Bug 449196 has been marked as a duplicate of this bug. ***
Comment 17 EPP Error Reports CLA 2014-10-29 10:12:12 EDT
*** Bug 449197 has been marked as a duplicate of this bug. ***
Comment 18 EPP Error Reports CLA 2014-10-29 10:12:13 EDT
*** Bug 449198 has been marked as a duplicate of this bug. ***
Comment 19 EPP Error Reports CLA 2014-10-29 10:12:14 EDT
*** Bug 449199 has been marked as a duplicate of this bug. ***
Comment 20 EPP Error Reports CLA 2014-10-29 10:12:15 EDT
*** Bug 449200 has been marked as a duplicate of this bug. ***
Comment 21 EPP Error Reports CLA 2014-10-29 10:12:16 EDT
*** Bug 449201 has been marked as a duplicate of this bug. ***
Comment 22 Esteban DUGUEPEROUX CLA 2014-11-13 10:23:58 EST
Indeed a better message could be thrown. In addition perhaps we could deprecate InterpreterUtil.getInterpreter() and use an IInterpreter reference from the Session and also prevent expression evaluation on detached object.
Comment 23 Esteban DUGUEPEROUX CLA 2015-12-29 04:23:07 EST
Scenario to reproduce with EcoreTools :

1. Create a Ecore Modeling Project
2. Create a diagram and add a EPackage
3. From the created EPackage create a new diagram and save
4. open the semantic ecore resource with the Ecore Sample Model Editor and delete created EPackage and save
5. Set the focus on last created diagram => KO we get the same exception
In addition the editor should be closed as we do it when the semantic target deletion occurs in session.