first launch of an eclipse workbench with B3 languagehttps://www.eclipse.org/forums/index.php/mv/msg/167906/532574/#msg_532574
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]]>jeremie2010-05-10T13:36:21-00:00Re: first launch of an eclipse workbench with B3 languagehttps://www.eclipse.org/forums/index.php/mv/msg/167906/532601/#msg_532601
- henrik