Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [graphiti-dev] NullPointerException

Hi Ralph,

well, first a happy new year!

About the exception I'm not sure. It does no look as if it comes from a Graphiti editor, to me it looks more like an issues in the e4 tooling (e4 live application editor). Do you have that open in parallel?

Something that I should mention as well is that Graphiti currently does not support to create plain e4 tools. This is simply because the GEF 3.x framework we use does not support it, there is always an Eclipse 3.x editor running under the hood, so you will need to incorporate the e4 compatibility layer.

Regards,
Michael

-----Original Message-----
From: graphiti-dev-bounces@xxxxxxxxxxx [mailto:graphiti-dev-bounces@xxxxxxxxxxx] On Behalf Of Ralph Bergmann
Sent: Dienstag, 24. Dezember 2013 02:45
To: Discuss development topics on Graphiti
Subject: [graphiti-dev] NullPointerException

Hello,

at first: Merry Christmas :-)

It play a little bit with Graphiti. It's my first Graphiti and Eclipse
plugin project.

I created a new plugin project with the example content. When I press
play I get a NPE but the project plays.

I don't know if this is a Graphiti problem or not :-(


!SESSION 2013-12-24 02:35:28.420
-----------------------------------------------
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.6.0_65
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=de_DE
Framework arguments:  -product org.eclipse.platform.ide
Command-line arguments:  -product org.eclipse.platform.ide -data
/Users/dasralph/development/workspace/../runtime-EclipseApplication -dev
file:/Users/dasralph/development/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse
Application/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog

!ENTRY org.eclipse.core.resources 2 10035 2013-12-24 02:35:31.007
!MESSAGE The workspace exited with unsaved changes in the previous
session; refreshing workspace to recover changes.

!ENTRY org.eclipse.e4.ui.workbench 2 0 2013-12-24 02:35:31.486
!MESSAGE Could not run processor
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
	at
org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
	at
org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
	at
org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:220)
	at
org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:107)
	at
org.eclipse.e4.ui.internal.workbench.ModelAssembler.runProcessor(ModelAssembler.java:231)
	at
org.eclipse.e4.ui.internal.workbench.ModelAssembler.processModel(ModelAssembler.java:88)
	at
org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:219)
	at
org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:395)
	at
org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:238)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:581)
	at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	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:354)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
	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:636)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Caused by: java.lang.NullPointerException
	at
org.eclipse.e4.tools.emf.liveeditor.ModelProcessor.process(ModelProcessor.java:55)
	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	... 26 more

!ENTRY org.eclipse.core.net 1 0 2013-12-24 02:35:33.008
!MESSAGE System property http.nonProxyHosts has been set to
local|*.local|169.254/16|*.169.254/16 by an external source. This value
will be overwritten using the values from the preferences


Back to the top