| Summary: | Strange (follow up) error on editor initialization | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Sven Efftinge <sven.efftinge> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 1.0.0 | Flags: | sebastian.zarnekow:
helios+
|
| Target Milestone: | SR1 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
Not entirely sure, but I think this is related to #313508 *** This bug has been marked as a duplicate of bug 313508 *** |
When I try to open the editor of my dsl I have this error : 0 [main] ERROR org.eclipse.xtext.ui.editor.CompoundXtextEditorCallback - different instances of editor were given. java.lang.IllegalStateException: different instances of editor were given. at org.eclipse.xtext.ui.editor.AbstractDirtyStateAwareEditorCal lback.beforeDispose(AbstractDirtyStateAwareEditorCallback.ja va:37) at org.eclipse.xtext.ui.editor.CompoundXtextEditorCallback.befo reDispose(CompoundXtextEditorCallback.java:70) at org.eclipse.xtext.ui.editor.XtextEditor.dispose(XtextEditor. java:382) at org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:697) at org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595) at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(Ed itorAreaHelper.java:271) at org.eclipse.ui.internal.EditorManager.setVisibleEditor(Edito rManager.java:1417) at org.eclipse.ui.internal.EditorManager$5.runWithException(Edi torManager.java:942) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3885) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3506) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$28.runWithException(Workbe nch.java:1384) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3885) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3506) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) at org.eclipse.equinox.launcher.Main.main(Main.java:1287) I have to to another terminal ID0 like this : terminal ID0 returns ecore::EString: ID('.'ID)*; I have this error only when I use ID0 in my grammar