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 #606385] Mon, 10 May 2010 09:36
jeremie is currently offline jeremie
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.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.
Previous Topic:A better way to handle repository and resolution
Next Topic:Using B3 language with Java classes
Goto Forum:
  


Current Time: Wed Apr 16 00:36:23 EDT 2014

Powered by FUDForum. Page generated in 0.01434 seconds