Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » B3 » first launch of an eclipse workbench with B3 language
first launch of an eclipse workbench with B3 language [message #532574] Mon, 10 May 2010 13:36 Go to next message
jeremie is currently offline jeremieFriend
Messages: 233
Registered: April 2010
Senior Member
Hi, I just manage to launch an eclipse workbench with B3 language with eclipse helios on mac osx.

I try to edit a B3 file, and I can see these exceptions when I edit it :
!ENTRY org.eclipse.ui 4 0 2010-05-10 15:02:55.234
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
	at org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoInternal(ProblemHover.java:56)
	at org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo(AbstractHover.java:46)
	at org.eclipse.jface.text.source.AnnotationBarHoverManager.computeInformation(AnnotationBarHoverManager.java:385)
	at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:1120)
	at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(AbstractHoverInformationControlManager.java:519)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:201)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3754)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1343)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1366)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1351)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1163)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3600)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3255)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2601)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2399)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:662)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	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:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

!ENTRY org.eclipse.jface.text 4 0 2010-05-10 15:03:17.082
!MESSAGE Unexpected runtime error while computing a text hover
!STACK 0
java.lang.NullPointerException
	at org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoInternal(ProblemHover.java:56)
	at org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo2(AbstractHover.java:63)
	at org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo2(AbstractHover.java:1)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jface.text 4 0 2010-05-10 15:12:05.572
!MESSAGE Unexpected runtime error while computing a text hover
!STACK 0
java.lang.NullPointerException
	at org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoInternal(ProblemHover.java:56)
	at org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo2(AbstractHover.java:63)
	at org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo2(AbstractHover.java:1)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.jface.text 4 0 2010-05-10 15:17:02.018
!MESSAGE Unexpected runtime error while computing a text hover
!STACK 0
java.lang.NullPointerException
	at org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoInternal(ProblemHover.java:56)
	at org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo2(AbstractHover.java:63)
	at org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo2(AbstractHover.java:1)
	at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

!ENTRY org.eclipse.ui 4 0 2010-05-10 15:21:34.305
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
	at org.eclipse.swt.SWT.error(SWT.java:4083)
	at org.eclipse.swt.SWT.error(SWT.java:3998)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3564)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3257)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2601)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2399)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:662)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	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:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: java.lang.NullPointerException
	at org.eclipse.emf.common.notify.impl.AdapterFactoryImpl.adapt(AdapterFactoryImpl.java:88)
	at org.eclipse.xtext.ui.editor.outline.DefaultContentOutlineNodeFactory.create(DefaultContentOutlineNodeFactory.java:77)
	at org.eclipse.xtext.ui.editor.outline.transformer.DefaultSemanticModelTransformer.newOutlineNode(DefaultSemanticModelTransformer.java:64)
	at org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer.createNode(AbstractDeclarativeSemanticModelTransformer.java:68)
	at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:259)
	at org.eclipse.xtext.ui.editor.outline.transformer.AbstractDeclarativeSemanticModelTransformer.createOutlineNode(AbstractDeclarativeSemanticModelTransformer.java:64)
	at org.eclipse.xtext.ui.editor.outline.transformer.AbstractSemanticModelTransformer.transformSemanticNode(AbstractSemanticModelTransformer.java:35)
	at org.eclipse.xtext.ui.editor.outline.transformer.AbstractSemanticModelTransformer.transformSemanticChildNodes(AbstractSemanticModelTransformer.java:47)
	at org.eclipse.xtext.ui.editor.outline.transformer.AbstractSemanticModelTransformer.transformSemanticNode(AbstractSemanticModelTransformer.java:39)
	at org.eclipse.xtext.ui.editor.outline.transformer.AbstractSemanticModelTransformer.transformSemanticModel(AbstractSemanticModelTransformer.java:28)
	at org.eclipse.xtext.ui.editor.outline.transformer.TransformingTreeProvider.transformSemanticModelToOutlineModel(TransformingTreeProvider.java:39)
	at org.eclipse.xtext.ui.editor.outline.transformer.TransformingTreeProvider.access$0(TransformingTreeProvider.java:38)
	at org.eclipse.xtext.ui.editor.outline.transformer.TransformingTreeProvider$1.exec(TransformingTreeProvider.java:54)
	at org.eclipse.xtext.ui.editor.outline.transformer.TransformingTreeProvider$1.exec(TransformingTreeProvider.java:1)
	at org.eclipse.xtext.util.concurrent.IStateAccess$AbstractImpl.readOnly(IStateAccess.java:40)
	at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:58)
	at org.eclipse.xtext.ui.editor.outline.transformer.TransformingTreeProvider.inputChanged(TransformingTreeProvider.java:48)
	at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:270)
	at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1664)
	at org.eclipse.xtext.ui.editor.outline.XtextContentOutlinePage.internalSetInput(XtextContentOutlinePage.java:258)
	at org.eclipse.xtext.ui.editor.outline.XtextContentOutlinePage.access$2(XtextContentOutlinePage.java:252)
	at org.eclipse.xtext.ui.editor.outline.XtextContentOutlinePage$4.run(XtextContentOutlinePage.java:384)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
	... 23 more




But these exceptions don't block the edition of the B3 files. I don't think they are important, it is just to report.

Jérémie

[Updated on: Mon, 10 May 2010 13:36]

Report message to a moderator

Re: first launch of an eclipse workbench with B3 language [message #532601 is a reply to message #532574] Mon, 10 May 2010 14:39 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2501
Registered: July 2009
Senior Member
I don't get that error. Is it reproducible?
- henrik

On 5/10/10 3:36 PM, jeremie wrote:
> Hi, I just manage to launch an eclipse workbench with B3 language with
> eclipse helios on mac osx.
>
> I try to edit a B3 file, and I can see these exceptions when I edit it :
>
> !ENTRY org.eclipse.ui 4 0 2010-05-10 15:02:55.234
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoI nternal(ProblemHover.java:56)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo (AbstractHover.java:46)
>
> at
> org.eclipse.jface.text.source.AnnotationBarHoverManager.comp uteInformation(AnnotationBarHoverManager.java:385)
>
> at
> org.eclipse.jface.text.AbstractInformationControlManager.doS howInformation(AbstractInformationControlManager.java:1120)
>
> at
> org.eclipse.jface.text.AbstractHoverInformationControlManage r$MouseTracker.mouseHover(AbstractHoverInformationControlMan ager.java:519)
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:201)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3754)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1343)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1366)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1351)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 163)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3600)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3255)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2601)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:23 99)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:662)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:369)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
>
> !ENTRY org.eclipse.jface.text 4 0 2010-05-10 15:03:17.082
> !MESSAGE Unexpected runtime error while computing a text hover
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoI nternal(ProblemHover.java:56)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:63)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:1)
>
> at
> org.eclipse.jface.text.TextViewerHoverManager$4.run(TextView erHoverManager.java:166)
>
>
> !ENTRY org.eclipse.jface.text 4 0 2010-05-10 15:12:05.572
> !MESSAGE Unexpected runtime error while computing a text hover
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoI nternal(ProblemHover.java:56)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:63)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:1)
>
> at
> org.eclipse.jface.text.TextViewerHoverManager$4.run(TextView erHoverManager.java:166)
>
>
> !ENTRY org.eclipse.jface.text 4 0 2010-05-10 15:17:02.018
> !MESSAGE Unexpected runtime error while computing a text hover
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoI nternal(ProblemHover.java:56)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:63)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:1)
>
> at
> org.eclipse.jface.text.TextViewerHoverManager$4.run(TextView erHoverManager.java:166)
>
>
> !ENTRY org.eclipse.ui 4 0 2010-05-10 15:21:34.305
> !MESSAGE Unhandled event loop exception
> !STACK 0
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:4083)
> at org.eclipse.swt.SWT.error(SWT.java:3998)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:137)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3564)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3257)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2601)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:23 99)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:662)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:369)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.emf.common.notify.impl.AdapterFactoryImpl.adapt( AdapterFactoryImpl.java:88)
>
> at
> org.eclipse.xtext.ui.editor.outline.DefaultContentOutlineNod eFactory.create(DefaultContentOutlineNodeFactory.java:77)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.DefaultSeman ticModelTransformer.newOutlineNode(DefaultSemanticModelTrans former.java:64)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractDecl arativeSemanticModelTransformer.createNode(AbstractDeclarati veSemanticModelTransformer.java:68)
>
> at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.eclipse.xtext.util.PolymorphicDispatcher.invoke(Polymorp hicDispatcher.java:259)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractDecl arativeSemanticModelTransformer.createOutlineNode(AbstractDe clarativeSemanticModelTransformer.java:64)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractSema nticModelTransformer.transformSemanticNode(AbstractSemanticM odelTransformer.java:35)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractSema nticModelTransformer.transformSemanticChildNodes(AbstractSem anticModelTransformer.java:47)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractSema nticModelTransformer.transformSemanticNode(AbstractSemanticM odelTransformer.java:39)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractSema nticModelTransformer.transformSemanticModel(AbstractSemantic ModelTransformer.java:28)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider.transformSemanticModelToOutlineModel(Transformi ngTreeProvider.java:39)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider.access$0(TransformingTreeProvider.java:38)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider$1.exec(TransformingTreeProvider.java:54)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider$1.exec(TransformingTreeProvider.java:1)
>
> at
> org.eclipse.xtext.util.concurrent.IStateAccess$AbstractImpl. readOnly(IStateAccess.java:40)
>
> at
> org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(Xte xtDocument.java:58)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider.inputChanged(TransformingTreeProvider.java:48)
>
> at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:270)
> at
> org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1664)
>
> at
> org.eclipse.xtext.ui.editor.outline.XtextContentOutlinePage. internalSetInput(XtextContentOutlinePage.java:258)
>
> at
> org.eclipse.xtext.ui.editor.outline.XtextContentOutlinePage. access$2(XtextContentOutlinePage.java:252)
>
> at
> org.eclipse.xtext.ui.editor.outline.XtextContentOutlinePage$ 4.run(XtextContentOutlinePage.java:384)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
>
> ... 23 more
>
>
>
>
> But these exceptions don't block the edition of the B3 files. I don't
> think they are important, it is just to report.
Re: first launch of an eclipse workbench with B3 language [message #532620 is a reply to message #532574] Mon, 10 May 2010 15:29 Go to previous message
jeremie is currently offline jeremieFriend
Messages: 233
Registered: April 2010
Senior Member
No, i don't have these exception now, If I will see it again the future I will tell you. I will try to find the context of these exceptions.

Jérémie
Re: first launch of an eclipse workbench with B3 language [message #606396 is a reply to message #532574] Mon, 10 May 2010 14:39 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2501
Registered: July 2009
Senior Member
I don't get that error. Is it reproducible?
- henrik

On 5/10/10 3:36 PM, jeremie wrote:
> Hi, I just manage to launch an eclipse workbench with B3 language with
> eclipse helios on mac osx.
>
> I try to edit a B3 file, and I can see these exceptions when I edit it :
>
> !ENTRY org.eclipse.ui 4 0 2010-05-10 15:02:55.234
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoI nternal(ProblemHover.java:56)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo (AbstractHover.java:46)
>
> at
> org.eclipse.jface.text.source.AnnotationBarHoverManager.comp uteInformation(AnnotationBarHoverManager.java:385)
>
> at
> org.eclipse.jface.text.AbstractInformationControlManager.doS howInformation(AbstractInformationControlManager.java:1120)
>
> at
> org.eclipse.jface.text.AbstractHoverInformationControlManage r$MouseTracker.mouseHover(AbstractHoverInformationControlMan ager.java:519)
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:201)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3754)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1343)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1366)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1351)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1 163)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3600)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3255)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2601)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:23 99)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:662)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:369)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
>
> !ENTRY org.eclipse.jface.text 4 0 2010-05-10 15:03:17.082
> !MESSAGE Unexpected runtime error while computing a text hover
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoI nternal(ProblemHover.java:56)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:63)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:1)
>
> at
> org.eclipse.jface.text.TextViewerHoverManager$4.run(TextView erHoverManager.java:166)
>
>
> !ENTRY org.eclipse.jface.text 4 0 2010-05-10 15:12:05.572
> !MESSAGE Unexpected runtime error while computing a text hover
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoI nternal(ProblemHover.java:56)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:63)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:1)
>
> at
> org.eclipse.jface.text.TextViewerHoverManager$4.run(TextView erHoverManager.java:166)
>
>
> !ENTRY org.eclipse.jface.text 4 0 2010-05-10 15:17:02.018
> !MESSAGE Unexpected runtime error while computing a text hover
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.xtext.ui.editor.hover.ProblemHover.getHoverInfoI nternal(ProblemHover.java:56)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:63)
>
> at
> org.eclipse.xtext.ui.editor.hover.AbstractHover.getHoverInfo 2(AbstractHover.java:1)
>
> at
> org.eclipse.jface.text.TextViewerHoverManager$4.run(TextView erHoverManager.java:166)
>
>
> !ENTRY org.eclipse.ui 4 0 2010-05-10 15:21:34.305
> !MESSAGE Unhandled event loop exception
> !STACK 0
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:4083)
> at org.eclipse.swt.SWT.error(SWT.java:3998)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:137)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3564)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3257)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2601)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:23 99)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:662)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:369)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
> Caused by: java.lang.NullPointerException
> at
> org.eclipse.emf.common.notify.impl.AdapterFactoryImpl.adapt( AdapterFactoryImpl.java:88)
>
> at
> org.eclipse.xtext.ui.editor.outline.DefaultContentOutlineNod eFactory.create(DefaultContentOutlineNodeFactory.java:77)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.DefaultSeman ticModelTransformer.newOutlineNode(DefaultSemanticModelTrans former.java:64)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractDecl arativeSemanticModelTransformer.createNode(AbstractDeclarati veSemanticModelTransformer.java:68)
>
> at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.eclipse.xtext.util.PolymorphicDispatcher.invoke(Polymorp hicDispatcher.java:259)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractDecl arativeSemanticModelTransformer.createOutlineNode(AbstractDe clarativeSemanticModelTransformer.java:64)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractSema nticModelTransformer.transformSemanticNode(AbstractSemanticM odelTransformer.java:35)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractSema nticModelTransformer.transformSemanticChildNodes(AbstractSem anticModelTransformer.java:47)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractSema nticModelTransformer.transformSemanticNode(AbstractSemanticM odelTransformer.java:39)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.AbstractSema nticModelTransformer.transformSemanticModel(AbstractSemantic ModelTransformer.java:28)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider.transformSemanticModelToOutlineModel(Transformi ngTreeProvider.java:39)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider.access$0(TransformingTreeProvider.java:38)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider$1.exec(TransformingTreeProvider.java:54)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider$1.exec(TransformingTreeProvider.java:1)
>
> at
> org.eclipse.xtext.util.concurrent.IStateAccess$AbstractImpl. readOnly(IStateAccess.java:40)
>
> at
> org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(Xte xtDocument.java:58)
>
> at
> org.eclipse.xtext.ui.editor.outline.transformer.Transforming TreeProvider.inputChanged(TransformingTreeProvider.java:48)
>
> at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:270)
> at
> org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1664)
>
> at
> org.eclipse.xtext.ui.editor.outline.XtextContentOutlinePage. internalSetInput(XtextContentOutlinePage.java:258)
>
> at
> org.eclipse.xtext.ui.editor.outline.XtextContentOutlinePage. access$2(XtextContentOutlinePage.java:252)
>
> at
> org.eclipse.xtext.ui.editor.outline.XtextContentOutlinePage$ 4.run(XtextContentOutlinePage.java:384)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
>
> ... 23 more
>
>
>
>
> But these exceptions don't block the edition of the B3 files. I don't
> think they are important, it is just to report.
Re: first launch of an eclipse workbench with B3 language [message #606412 is a reply to message #532574] Mon, 10 May 2010 15:29 Go to previous message
jeremie is currently offline jeremieFriend
Messages: 233
Registered: April 2010
Senior Member
No, i don't have these exception now, If I will see it again the future I will tell you. I will try to find the context of these exceptions.

Jérémie
Previous Topic:Using B3 language with Java classes
Next Topic:Using B3 language with Java classes
Goto Forum:
  


Current Time: Mon Dec 22 12:59:11 GMT 2014

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

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