Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315723 - Strange (follow up) error on editor initialization
Summary: Strange (follow up) error on editor initialization
Status: CLOSED DUPLICATE of bug 313508
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: SR1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-04 03:12 EDT by Sven Efftinge CLA
Modified: 2010-08-03 05:34 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: helios+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Efftinge CLA 2010-06-04 03:12:02 EDT
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
Comment 1 Sven Efftinge CLA 2010-08-03 05:34:08 EDT
Not entirely sure, but I think this is related to #313508

*** This bug has been marked as a duplicate of bug 313508 ***