Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [xcore] xcore Editor crashes with xText 2.4
[xcore] xcore Editor crashes with xText 2.4 [message #1022747] Fri, 22 March 2013 13:11 Go to next message
Martin Jacob is currently offline Martin JacobFriend
Messages: 116
Registered: July 2009
Senior Member
Hi,

after updating Xtext to 2.4 the xcore Editor crashes.

The xcore file is:

@GenModel(modelDirectory="/de.bahntechnik.dd.opn.jni.model/src-gen", resource="XML")
package de.bahntechnik.dd.opn.jni.emf.model

import de.bahntechnik.dd.opn.jni.model.Project

type JniProject wraps Project


and the error Message at the end of this Email.

Does any one has the same experience? If yes how to solve it?

*** Platform Details:

*** System properties:
applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
awt.toolkit=sun.awt.windows.WToolkit
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20130204-1200
eclipse.commands=-os
win32
-ws
win32
-arch
x86_64


An internal error occurred during: "XtextReconcilerJob".
java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl cannot be cast to
org.eclipse.xtext.RuleCall



org.eclipse.xtext.parser.ParseException: java.lang.ClassCastException:
org.eclipse.xtext.impl.KeywordImpl cannot be cast to org.eclipse.xtext.RuleCall
at org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:105)
at org.eclipse.xtext.parser.antlr.AbstractAntlrParser.parse(AbstractAntlrParser.java:84)
at org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:62)
at org.eclipse.xtext.parser.AbstractParser.parse(AbstractParser.java:32)
at org.eclipse.xtext.resource.XtextResource.doLoad(XtextResource.java:160)
at org.eclipse.xtext.linking.lazy.LazyLinkingResource.doLoad(LazyLinkingResource.java:81)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
at org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.loadResource(XtextDocumentProvider.java:227)
at
org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentResource(XtextDocumentProvider.java:206)
at
org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentContent(XtextDocumentProvider.java:197)
at org.eclipse.ui.editors.text.StorageDocumentProvider.createDocument(StorageDocumentProvider.java:229)
at
org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createDocument(XtextDocumentProvider.java:139)
at org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:735)
at
org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createElementInfo(XtextDocumentProvider.java:252)
at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:400)
at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4222)
at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1480)
at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)
at org.eclipse.xtext.ui.editor.XtextEditor.doSetInput(XtextEditor.java:226)
at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3209)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1679)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1676)
at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3227)
at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3254)
at org.eclipse.xtext.ui.editor.XtextEditor.init(XtextEditor.java:249)
at org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:360)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:301)
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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:113)
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:242)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
at
org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
at
org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
at
org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
at
org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:894)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:629)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:731)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:702)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:696)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:681)
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1115)
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:67)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
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:80)
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
at
org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:422)
at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:389)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:606)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:332)
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1029)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3047)
at org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:2969)
at org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2951)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2947)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2911)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2902)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:655)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:614)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)
at
org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: org.eclipse.emf.common.util.WrappedException: java.lang.ClassCastException:
org.eclipse.xtext.impl.KeywordImpl cannot be cast to org.eclipse.xtext.RuleCall
at
org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:555)
at org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:102)
... 131 more
Caused by: java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl cannot be cast to
org.eclipse.xtext.RuleCall
at
org.eclipse.xtext.xbase.services.XtypeGrammarAccess$JvmTypeReferenceElements.<init>(XtypeGrammarAccess.java:28)
at
org.eclipse.xtext.xbase.services.XtypeGrammarAccess.getJvmTypeReferenceAccess(XtypeGrammarAccess.java:615)
at
org.eclipse.xtext.xbase.services.XbaseGrammarAccess.getJvmTypeReferenceAccess(XbaseGrammarAccess.java:3714)
at
org.eclipse.emf.ecore.xcore.services.XcoreGrammarAccess.getJvmTypeReferenceAccess(XcoreGrammarAccess.java:3277)
at
org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleJvmTypeReference(InternalXcoreParser.java:22132)
at
org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXDataType(InternalXcoreParser.java:1835)
at
org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXClassifier(InternalXcoreParser.java:1467)
at
org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXPackage(InternalXcoreParser.java:477)
at
org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.entryRuleXPackage(InternalXcoreParser.java:190)
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.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:532)
... 132 more
Re: [xcore] xcore Editor crashes with xText 2.4 [message #1022995 is a reply to message #1022747] Sat, 23 March 2013 00:45 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 26289
Registered: July 2009
Senior Member
Martin,

Xcore extends Xbase, so changes to that grammar requires regenerating
Xcore's grammar. The M6 build of Xcore should work...

On 22/03/2013 2:11 PM, Martin Jacob wrote:
> Hi,
>
> after updating Xtext to 2.4 the xcore Editor crashes.
>
> The xcore file is:
>
> @GenModel(modelDirectory="/de.bahntechnik.dd.opn.jni.model/src-gen",
> resource="XML")
> package de.bahntechnik.dd.opn.jni.emf.model
>
> import de.bahntechnik.dd.opn.jni.model.Project
>
> type JniProject wraps Project
>
>
> and the error Message at the end of this Email.
>
> Does any one has the same experience? If yes how to solve it?
>
> *** Platform Details:
>
> *** System properties:
> applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
> awt.toolkit=sun.awt.windows.WToolkit
> eclipse.application=org.eclipse.ui.ide.workbench
> eclipse.buildId=M20130204-1200
> eclipse.commands=-os
> win32
> -ws
> win32
> -arch
> x86_64
>
>
> An internal error occurred during: "XtextReconcilerJob".
> java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl
> cannot be cast to org.eclipse.xtext.RuleCall
>
>
>
> org.eclipse.xtext.parser.ParseException: java.lang.ClassCastException:
> org.eclipse.xtext.impl.KeywordImpl cannot be cast to
> org.eclipse.xtext.RuleCall
> at
> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:105)
> at
> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.parse(AbstractAntlrParser.java:84)
> at
> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:62)
> at
> org.eclipse.xtext.parser.AbstractParser.parse(AbstractParser.java:32)
> at
> org.eclipse.xtext.resource.XtextResource.doLoad(XtextResource.java:160)
> at
> org.eclipse.xtext.linking.lazy.LazyLinkingResource.doLoad(LazyLinkingResource.java:81)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
> at
> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.loadResource(XtextDocumentProvider.java:227)
> at
> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentResource(XtextDocumentProvider.java:206)
> at
> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentContent(XtextDocumentProvider.java:197)
> at
> org.eclipse.ui.editors.text.StorageDocumentProvider.createDocument(StorageDocumentProvider.java:229)
> at
> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createDocument(XtextDocumentProvider.java:139)
> at
> org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:735)
> at
> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createElementInfo(XtextDocumentProvider.java:252)
> at
> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:400)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4222)
> at
> org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)
> at
> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1480)
> at
> org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)
> at
> org.eclipse.xtext.ui.editor.XtextEditor.doSetInput(XtextEditor.java:226)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3209)
> at
> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
> at
> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
> at
> org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1679)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at
> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1676)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3227)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3254)
> at org.eclipse.xtext.ui.editor.XtextEditor.init(XtextEditor.java:249)
> at
> org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:360)
> at
> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:301)
> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:113)
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)
> at
> org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:242)
> at
> org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
> at
> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
> at
> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
> at
> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
> at
> org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:894)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:629)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:731)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:702)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:696)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:681)
> at
> org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1115)
> at
> org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:67)
> at
> org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
> at
> org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
> at
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
> at
> org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187)
> at
> org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
> 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:80)
> at
> org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
> at
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
> at
> org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
> at
> org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:422)
> at
> org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:389)
> at
> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:606)
> at
> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:332)
> at
> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1029)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3047)
> at
> org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:2969)
> at
> org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2951)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2947)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2911)
> at
> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2902)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:655)
> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:614)
> at
> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)
> at
> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)
> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
> at
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
> at
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
> at
> org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)
> at
> org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)
> at
> org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
> at
> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> at
> org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
> at
> org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
> at
> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
> at
> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
> at
> org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
> at
> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
> at
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
> at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 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(EclipseStarter.java:353)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
> 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:629)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
> Caused by: org.eclipse.emf.common.util.WrappedException:
> java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl
> cannot be cast to org.eclipse.xtext.RuleCall
> at
> org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:555)
> at
> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:102)
> ... 131 more
> Caused by: java.lang.ClassCastException:
> org.eclipse.xtext.impl.KeywordImpl cannot be cast to
> org.eclipse.xtext.RuleCall
> at
> org.eclipse.xtext.xbase.services.XtypeGrammarAccess$JvmTypeReferenceElements.<init>(XtypeGrammarAccess.java:28)
> at
> org.eclipse.xtext.xbase.services.XtypeGrammarAccess.getJvmTypeReferenceAccess(XtypeGrammarAccess.java:615)
> at
> org.eclipse.xtext.xbase.services.XbaseGrammarAccess.getJvmTypeReferenceAccess(XbaseGrammarAccess.java:3714)
> at
> org.eclipse.emf.ecore.xcore.services.XcoreGrammarAccess.getJvmTypeReferenceAccess(XcoreGrammarAccess.java:3277)
> at
> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleJvmTypeReference(InternalXcoreParser.java:22132)
> at
> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXDataType(InternalXcoreParser.java:1835)
> at
> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXClassifier(InternalXcoreParser.java:1467)
> at
> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXPackage(InternalXcoreParser.java:477)
> at
> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.entryRuleXPackage(InternalXcoreParser.java:190)
> 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.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:532)
> ... 132 more
Re: [xcore] xcore Editor crashes with xText 2.4 [message #1023579 is a reply to message #1022995] Sun, 24 March 2013 16:26 Go to previous messageGo to next message
Christoph Kulla is currently offline Christoph KullaFriend
Messages: 48
Registered: July 2009
Member
Hi,

I'm facing the same issue here. Where is M6 located, can't find it anywhere.

Christoph

On 3/23/13 1:45 AM, Ed Merks wrote:
> Martin,
>
> Xcore extends Xbase, so changes to that grammar requires regenerating
> Xcore's grammar. The M6 build of Xcore should work...
>
> On 22/03/2013 2:11 PM, Martin Jacob wrote:
>> Hi,
>>
>> after updating Xtext to 2.4 the xcore Editor crashes.
>>
>> The xcore file is:
>>
>> @GenModel(modelDirectory="/de.bahntechnik.dd.opn.jni.model/src-gen",
>> resource="XML")
>> package de.bahntechnik.dd.opn.jni.emf.model
>>
>> import de.bahntechnik.dd.opn.jni.model.Project
>>
>> type JniProject wraps Project
>>
>>
>> and the error Message at the end of this Email.
>>
>> Does any one has the same experience? If yes how to solve it?
>>
>> *** Platform Details:
>>
>> *** System properties:
>> applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
>> awt.toolkit=sun.awt.windows.WToolkit
>> eclipse.application=org.eclipse.ui.ide.workbench
>> eclipse.buildId=M20130204-1200
>> eclipse.commands=-os
>> win32
>> -ws
>> win32
>> -arch
>> x86_64
>>
>>
>> An internal error occurred during: "XtextReconcilerJob".
>> java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl
>> cannot be cast to org.eclipse.xtext.RuleCall
>>
>>
>>
>> org.eclipse.xtext.parser.ParseException: java.lang.ClassCastException:
>> org.eclipse.xtext.impl.KeywordImpl cannot be cast to
>> org.eclipse.xtext.RuleCall
>> at
>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:105)
>>
>> at
>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.parse(AbstractAntlrParser.java:84)
>>
>> at
>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:62)
>>
>> at
>> org.eclipse.xtext.parser.AbstractParser.parse(AbstractParser.java:32)
>> at
>> org.eclipse.xtext.resource.XtextResource.doLoad(XtextResource.java:160)
>> at
>> org.eclipse.xtext.linking.lazy.LazyLinkingResource.doLoad(LazyLinkingResource.java:81)
>>
>> at
>> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
>>
>> at
>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.loadResource(XtextDocumentProvider.java:227)
>>
>> at
>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentResource(XtextDocumentProvider.java:206)
>>
>> at
>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentContent(XtextDocumentProvider.java:197)
>>
>> at
>> org.eclipse.ui.editors.text.StorageDocumentProvider.createDocument(StorageDocumentProvider.java:229)
>>
>> at
>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createDocument(XtextDocumentProvider.java:139)
>>
>> at
>> org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:735)
>>
>> at
>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createElementInfo(XtextDocumentProvider.java:252)
>>
>> at
>> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:400)
>>
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4222)
>>
>> at
>> org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)
>>
>> at
>> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1480)
>>
>> at
>> org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)
>> at
>> org.eclipse.xtext.ui.editor.XtextEditor.doSetInput(XtextEditor.java:226)
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3209)
>>
>> at
>> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
>>
>> at
>> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
>> at
>> org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1679)
>> at
>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>> at
>> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1676)
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3227)
>>
>> at
>> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3254)
>>
>> at org.eclipse.xtext.ui.editor.XtextEditor.init(XtextEditor.java:249)
>> at
>> org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:360)
>>
>> at
>> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:301)
>>
>> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:113)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)
>>
>> at
>> org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:242)
>> at
>> org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:894)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:629)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:731)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:702)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:696)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:681)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1115)
>>
>> at
>> org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:67)
>>
>> at
>> org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
>>
>> at
>> org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
>> at
>> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
>> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187)
>>
>> at
>> org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
>>
>> 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:80)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
>>
>> at
>> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
>>
>> at
>> org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:422)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:389)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:606)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:332)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1029)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3047)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:2969)
>> at
>> org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2951)
>> at
>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2947)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2911)
>> at
>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2902)
>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:655)
>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:614)
>> at
>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)
>>
>> at
>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)
>>
>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
>> at
>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
>>
>> at
>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
>>
>> at
>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)
>>
>> at
>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)
>>
>> at
>> org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
>> at
>> org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
>>
>> at
>> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
>>
>> at
>> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
>> at
>> org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
>> at
>> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
>>
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
>>
>> at
>> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
>>
>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
>>
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>
>> 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(EclipseStarter.java:353)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
>>
>> 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:629)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
>> Caused by: org.eclipse.emf.common.util.WrappedException:
>> java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl
>> cannot be cast to org.eclipse.xtext.RuleCall
>> at
>> org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:555)
>>
>> at
>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:102)
>>
>> ... 131 more
>> Caused by: java.lang.ClassCastException:
>> org.eclipse.xtext.impl.KeywordImpl cannot be cast to
>> org.eclipse.xtext.RuleCall
>> at
>> org.eclipse.xtext.xbase.services.XtypeGrammarAccess$JvmTypeReferenceElements.<init>(XtypeGrammarAccess.java:28)
>>
>> at
>> org.eclipse.xtext.xbase.services.XtypeGrammarAccess.getJvmTypeReferenceAccess(XtypeGrammarAccess.java:615)
>>
>> at
>> org.eclipse.xtext.xbase.services.XbaseGrammarAccess.getJvmTypeReferenceAccess(XbaseGrammarAccess.java:3714)
>>
>> at
>> org.eclipse.emf.ecore.xcore.services.XcoreGrammarAccess.getJvmTypeReferenceAccess(XcoreGrammarAccess.java:3277)
>>
>> at
>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleJvmTypeReference(InternalXcoreParser.java:22132)
>>
>> at
>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXDataType(InternalXcoreParser.java:1835)
>>
>> at
>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXClassifier(InternalXcoreParser.java:1467)
>>
>> at
>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXPackage(InternalXcoreParser.java:477)
>>
>> at
>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.entryRuleXPackage(InternalXcoreParser.java:190)
>>
>> 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.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:532)
>>
>> ... 132 more
>
Re: [xcore] xcore Editor crashes with xText 2.4 [message #1023593 is a reply to message #1023579] Sun, 24 March 2013 17:18 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4188
Registered: July 2009
Senior Member
Hi

It's not in the EMF All-In-One on the downloads page so till someone
provides something better try

https://hudson.eclipse.org/hudson/view/EMF/job/emf-xcore-head/lastSuccessfulBuild/artifact/xcore.downloads/emf-xcore-Update-N201303232029.zip

Regards

Ed Willink


On 24/03/2013 16:26, Christoph Kulla wrote:
> Hi,
>
> I'm facing the same issue here. Where is M6 located, can't find it
> anywhere.
>
> Christoph
>
> On 3/23/13 1:45 AM, Ed Merks wrote:
>> Martin,
>>
>> Xcore extends Xbase, so changes to that grammar requires regenerating
>> Xcore's grammar. The M6 build of Xcore should work...
>>
>> On 22/03/2013 2:11 PM, Martin Jacob wrote:
>>> Hi,
>>>
>>> after updating Xtext to 2.4 the xcore Editor crashes.
>>>
>>> The xcore file is:
>>>
>>> @GenModel(modelDirectory="/de.bahntechnik.dd.opn.jni.model/src-gen",
>>> resource="XML")
>>> package de.bahntechnik.dd.opn.jni.emf.model
>>>
>>> import de.bahntechnik.dd.opn.jni.model.Project
>>>
>>> type JniProject wraps Project
>>>
>>>
>>> and the error Message at the end of this Email.
>>>
>>> Does any one has the same experience? If yes how to solve it?
>>>
>>> *** Platform Details:
>>>
>>> *** System properties:
>>> applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
>>> awt.toolkit=sun.awt.windows.WToolkit
>>> eclipse.application=org.eclipse.ui.ide.workbench
>>> eclipse.buildId=M20130204-1200
>>> eclipse.commands=-os
>>> win32
>>> -ws
>>> win32
>>> -arch
>>> x86_64
>>>
>>>
>>> An internal error occurred during: "XtextReconcilerJob".
>>> java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl
>>> cannot be cast to org.eclipse.xtext.RuleCall
>>>
>>>
>>>
>>> org.eclipse.xtext.parser.ParseException: java.lang.ClassCastException:
>>> org.eclipse.xtext.impl.KeywordImpl cannot be cast to
>>> org.eclipse.xtext.RuleCall
>>> at
>>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:105)
>>>
>>>
>>> at
>>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.parse(AbstractAntlrParser.java:84)
>>>
>>>
>>> at
>>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:62)
>>>
>>>
>>> at
>>> org.eclipse.xtext.parser.AbstractParser.parse(AbstractParser.java:32)
>>> at
>>> org.eclipse.xtext.resource.XtextResource.doLoad(XtextResource.java:160)
>>> at
>>> org.eclipse.xtext.linking.lazy.LazyLinkingResource.doLoad(LazyLinkingResource.java:81)
>>>
>>>
>>> at
>>> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
>>>
>>>
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.loadResource(XtextDocumentProvider.java:227)
>>>
>>>
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentResource(XtextDocumentProvider.java:206)
>>>
>>>
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentContent(XtextDocumentProvider.java:197)
>>>
>>>
>>> at
>>> org.eclipse.ui.editors.text.StorageDocumentProvider.createDocument(StorageDocumentProvider.java:229)
>>>
>>>
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createDocument(XtextDocumentProvider.java:139)
>>>
>>>
>>> at
>>> org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:735)
>>>
>>>
>>> at
>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createElementInfo(XtextDocumentProvider.java:252)
>>>
>>>
>>> at
>>> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:400)
>>>
>>>
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4222)
>>>
>>>
>>> at
>>> org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)
>>>
>>>
>>> at
>>> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1480)
>>>
>>>
>>> at
>>> org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)
>>> at
>>> org.eclipse.xtext.ui.editor.XtextEditor.doSetInput(XtextEditor.java:226)
>>>
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3209)
>>>
>>>
>>> at
>>> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
>>>
>>>
>>> at
>>> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
>>> at
>>> org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1679)
>>>
>>> at
>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>>> at
>>> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1676)
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3227)
>>>
>>>
>>> at
>>> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3254)
>>>
>>>
>>> at
>>> org.eclipse.xtext.ui.editor.XtextEditor.init(XtextEditor.java:249)
>>> at
>>> org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:360)
>>>
>>>
>>> at
>>> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:301)
>>>
>>>
>>> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
>>>
>>>
>>> at
>>> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)
>>>
>>>
>>> at
>>> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)
>>>
>>>
>>> at
>>> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:113)
>>>
>>>
>>> at
>>> org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)
>>>
>>>
>>> at
>>> org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:242)
>>>
>>> at
>>> org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:894)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:629)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:731)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:702)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:696)
>>>
>>>
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>> at
>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:681)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1115)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:67)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
>>>
>>>
>>> at
>>> org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
>>> at
>>> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
>>>
>>> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
>>> at
>>> org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
>>>
>>>
>>> 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:80)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
>>>
>>>
>>> at
>>> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:422)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:389)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:606)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:332)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1029)
>>>
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3047)
>>>
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:2969)
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2951)
>>> at
>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2947)
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2911)
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2902)
>>>
>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:655)
>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:614)
>>> at
>>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)
>>>
>>>
>>> at
>>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)
>>>
>>>
>>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
>>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
>>> at
>>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
>>>
>>>
>>> at
>>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
>>>
>>>
>>> at
>>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)
>>>
>>>
>>> at
>>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)
>>>
>>>
>>> at
>>> org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
>>>
>>>
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
>>>
>>>
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
>>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
>>>
>>>
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
>>>
>>>
>>> at
>>> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
>>>
>>>
>>> at
>>> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
>>>
>>> at
>>> org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
>>> at
>>> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
>>>
>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>>> at
>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
>>> at
>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
>>> at
>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
>>>
>>>
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
>>>
>>>
>>> at
>>> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
>>>
>>>
>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
>>> at
>>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>>
>>>
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
>>>
>>>
>>> at
>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>>> at
>>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
>>>
>>>
>>> at
>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>>
>>>
>>> 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(EclipseStarter.java:353)
>>>
>>>
>>> at
>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
>>>
>>>
>>> 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:629)
>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
>>> Caused by: org.eclipse.emf.common.util.WrappedException:
>>> java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl
>>> cannot be cast to org.eclipse.xtext.RuleCall
>>> at
>>> org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:555)
>>>
>>>
>>> at
>>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:102)
>>>
>>>
>>> ... 131 more
>>> Caused by: java.lang.ClassCastException:
>>> org.eclipse.xtext.impl.KeywordImpl cannot be cast to
>>> org.eclipse.xtext.RuleCall
>>> at
>>> org.eclipse.xtext.xbase.services.XtypeGrammarAccess$JvmTypeReferenceElements.<init>(XtypeGrammarAccess.java:28)
>>>
>>>
>>> at
>>> org.eclipse.xtext.xbase.services.XtypeGrammarAccess.getJvmTypeReferenceAccess(XtypeGrammarAccess.java:615)
>>>
>>>
>>> at
>>> org.eclipse.xtext.xbase.services.XbaseGrammarAccess.getJvmTypeReferenceAccess(XbaseGrammarAccess.java:3714)
>>>
>>>
>>> at
>>> org.eclipse.emf.ecore.xcore.services.XcoreGrammarAccess.getJvmTypeReferenceAccess(XcoreGrammarAccess.java:3277)
>>>
>>>
>>> at
>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleJvmTypeReference(InternalXcoreParser.java:22132)
>>>
>>>
>>> at
>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXDataType(InternalXcoreParser.java:1835)
>>>
>>>
>>> at
>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXClassifier(InternalXcoreParser.java:1467)
>>>
>>>
>>> at
>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXPackage(InternalXcoreParser.java:477)
>>>
>>>
>>> at
>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.entryRuleXPackage(InternalXcoreParser.java:190)
>>>
>>>
>>> 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.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:532)
>>>
>>>
>>> ... 132 more
>>
>
Re: [xcore] xcore Editor crashes with xText 2.4 [message #1023609 is a reply to message #1023593] Sun, 24 March 2013 18:30 Go to previous message
Christoph Kulla is currently offline Christoph KullaFriend
Messages: 48
Registered: July 2009
Member
Hi,

thanks for pointing me to the hudson server. M6 is build 579, so the
corresponding update site is:

https://hudson.eclipse.org/hudson/view/EMF/job/emf-xcore-head/579/artifact/xcore.p2.repository/

Cheers

Christoph


On 3/24/13 6:18 PM, Ed Willink wrote:
> Hi
>
> It's not in the EMF All-In-One on the downloads page so till someone
> provides something better try
>
> https://hudson.eclipse.org/hudson/view/EMF/job/emf-xcore-head/lastSuccessfulBuild/artifact/xcore.downloads/emf-xcore-Update-N201303232029.zip
>
>
> Regards
>
> Ed Willink
>
>
> On 24/03/2013 16:26, Christoph Kulla wrote:
>> Hi,
>>
>> I'm facing the same issue here. Where is M6 located, can't find it
>> anywhere.
>>
>> Christoph
>>
>> On 3/23/13 1:45 AM, Ed Merks wrote:
>>> Martin,
>>>
>>> Xcore extends Xbase, so changes to that grammar requires regenerating
>>> Xcore's grammar. The M6 build of Xcore should work...
>>>
>>> On 22/03/2013 2:11 PM, Martin Jacob wrote:
>>>> Hi,
>>>>
>>>> after updating Xtext to 2.4 the xcore Editor crashes.
>>>>
>>>> The xcore file is:
>>>>
>>>> @GenModel(modelDirectory="/de.bahntechnik.dd.opn.jni.model/src-gen",
>>>> resource="XML")
>>>> package de.bahntechnik.dd.opn.jni.emf.model
>>>>
>>>> import de.bahntechnik.dd.opn.jni.model.Project
>>>>
>>>> type JniProject wraps Project
>>>>
>>>>
>>>> and the error Message at the end of this Email.
>>>>
>>>> Does any one has the same experience? If yes how to solve it?
>>>>
>>>> *** Platform Details:
>>>>
>>>> *** System properties:
>>>> applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
>>>> awt.toolkit=sun.awt.windows.WToolkit
>>>> eclipse.application=org.eclipse.ui.ide.workbench
>>>> eclipse.buildId=M20130204-1200
>>>> eclipse.commands=-os
>>>> win32
>>>> -ws
>>>> win32
>>>> -arch
>>>> x86_64
>>>>
>>>>
>>>> An internal error occurred during: "XtextReconcilerJob".
>>>> java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl
>>>> cannot be cast to org.eclipse.xtext.RuleCall
>>>>
>>>>
>>>>
>>>> org.eclipse.xtext.parser.ParseException: java.lang.ClassCastException:
>>>> org.eclipse.xtext.impl.KeywordImpl cannot be cast to
>>>> org.eclipse.xtext.RuleCall
>>>> at
>>>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:105)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.parse(AbstractAntlrParser.java:84)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:62)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.parser.AbstractParser.parse(AbstractParser.java:32)
>>>> at
>>>> org.eclipse.xtext.resource.XtextResource.doLoad(XtextResource.java:160)
>>>> at
>>>> org.eclipse.xtext.linking.lazy.LazyLinkingResource.doLoad(LazyLinkingResource.java:81)
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.loadResource(XtextDocumentProvider.java:227)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentResource(XtextDocumentProvider.java:206)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.setDocumentContent(XtextDocumentProvider.java:197)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.editors.text.StorageDocumentProvider.createDocument(StorageDocumentProvider.java:229)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createDocument(XtextDocumentProvider.java:139)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.editors.text.FileDocumentProvider.createElementInfo(FileDocumentProvider.java:735)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.ui.editor.model.XtextDocumentProvider.createElementInfo(XtextDocumentProvider.java:252)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:400)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4222)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1480)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)
>>>> at
>>>> org.eclipse.xtext.ui.editor.XtextEditor.doSetInput(XtextEditor.java:226)
>>>>
>>>> at
>>>> org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3209)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1679)
>>>>
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1676)
>>>> at
>>>> org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3227)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3254)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.ui.editor.XtextEditor.init(XtextEditor.java:249)
>>>> at
>>>> org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:360)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:301)
>>>>
>>>>
>>>> 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:861)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:841)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:113)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:321)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:242)
>>>>
>>>> at
>>>> org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:161)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:102)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:71)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:53)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:141)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:894)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:629)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:731)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java:702)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java:696)
>>>>
>>>>
>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:681)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1115)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:67)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
>>>>
>>>>
>>>> at
>>>> org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
>>>> at
>>>> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
>>>>
>>>> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4687)
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:187)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)
>>>>
>>>>
>>>> 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:80)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:58)
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:422)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:389)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:606)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:332)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1029)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3047)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.access$22(WorkbenchPage.java:2969)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage$8.run(WorkbenchPage.java:2951)
>>>> at
>>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2947)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2911)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2902)
>>>>
>>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:655)
>>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:614)
>>>> at
>>>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)
>>>>
>>>>
>>>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:249)
>>>> at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:228)
>>>> at
>>>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
>>>>
>>>>
>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>>>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
>>>> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
>>>> at
>>>> org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
>>>>
>>>>
>>>> at
>>>> org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
>>>>
>>>> at
>>>> org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
>>>> at
>>>> org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
>>>>
>>>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
>>>> at
>>>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
>>>> at
>>>> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1053)
>>>>
>>>>
>>>> at
>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:942)
>>>>
>>>>
>>>> at
>>>> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
>>>>
>>>>
>>>> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
>>>> at
>>>> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
>>>>
>>>>
>>>> at
>>>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>>>> at
>>>> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
>>>>
>>>>
>>>> at
>>>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>>>>
>>>>
>>>> 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(EclipseStarter.java:353)
>>>>
>>>>
>>>> at
>>>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
>>>>
>>>>
>>>> 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:629)
>>>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
>>>> at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
>>>> at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
>>>> Caused by: org.eclipse.emf.common.util.WrappedException:
>>>> java.lang.ClassCastException: org.eclipse.xtext.impl.KeywordImpl
>>>> cannot be cast to org.eclipse.xtext.RuleCall
>>>> at
>>>> org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:555)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.parser.antlr.AbstractAntlrParser.doParse(AbstractAntlrParser.java:102)
>>>>
>>>>
>>>> ... 131 more
>>>> Caused by: java.lang.ClassCastException:
>>>> org.eclipse.xtext.impl.KeywordImpl cannot be cast to
>>>> org.eclipse.xtext.RuleCall
>>>> at
>>>> org.eclipse.xtext.xbase.services.XtypeGrammarAccess$JvmTypeReferenceElements.<init>(XtypeGrammarAccess.java:28)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.xbase.services.XtypeGrammarAccess.getJvmTypeReferenceAccess(XtypeGrammarAccess.java:615)
>>>>
>>>>
>>>> at
>>>> org.eclipse.xtext.xbase.services.XbaseGrammarAccess.getJvmTypeReferenceAccess(XbaseGrammarAccess.java:3714)
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.ecore.xcore.services.XcoreGrammarAccess.getJvmTypeReferenceAccess(XcoreGrammarAccess.java:3277)
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleJvmTypeReference(InternalXcoreParser.java:22132)
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXDataType(InternalXcoreParser.java:1835)
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXClassifier(InternalXcoreParser.java:1467)
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.ruleXPackage(InternalXcoreParser.java:477)
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.ecore.xcore.parser.antlr.internal.InternalXcoreParser.entryRuleXPackage(InternalXcoreParser.java:190)
>>>>
>>>>
>>>> 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.xtext.parser.antlr.AbstractInternalAntlrParser.parse(AbstractInternalAntlrParser.java:532)
>>>>
>>>>
>>>> ... 132 more
>>>
>>
>
Previous Topic:Problem with persistence....
Next Topic:[XCore] derived feature unimplemented
Goto Forum:
  


Current Time: Mon Dec 22 17:07:56 GMT 2014

Powered by FUDForum. Page generated in 0.02283 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software