Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Error after creating the Handler in Application.e4xmi
Error after creating the Handler in Application.e4xmi [message #1022095] Thu, 21 March 2013 09:14 Go to next message
Peeyush Deshpande is currently offline Peeyush Deshpande
Messages: 12
Registered: March 2013
Junior Member
I am getting this error after I created a simple handler in Application.e4xmi file and tried to launch the project.

Please tell how to resolve the issue.

I have installed Eclipse 4 tooling from
http://download.eclipse.org/e4/downloads/drops/R-0.13-201302282200/repository/


!SESSION 2013-03-21 14:34:56.337 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_43
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product com.example.e4.rcp.todo.product -clearPersistedState
Command-line arguments: -product com.example.e4.rcp.todo.product -data C:\Users\pedeshpa\workspaceTopo/../runtime-todo.product -dev file:C:/Users/pedeshpa/workspaceTopo/.metadata/.plugins/org.eclipse.pde.core/todo.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -clearPersistedState

!ENTRY org.eclipse.osgi 4 0 2013-03-21 14:35:00.228
!MESSAGE Application error
!STACK 1
java.lang.NullPointerException
at org.eclipse.e4.ui.internal.workbench.E4Workbench.processHierarchy(E4Workbench.java:172)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.init(E4Workbench.java:118)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.<init>(E4Workbench.java:69)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:306)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:132)
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)
Re: Error after creating the Handler in Application.e4xmi [message #1022098 is a reply to message #1022095] Thu, 21 March 2013 09:19 Go to previous messageGo to next message
Peeyush Deshpande is currently offline Peeyush Deshpande
Messages: 12
Registered: March 2013
Junior Member
And this error I am getting is only after I link it to some command. Else the application starts, but no use.
Re: Error after creating the Handler in Application.e4xmi [message #1022110 is a reply to message #1022098] Thu, 21 March 2013 09:42 Go to previous messageGo to next message
Sopot Cela is currently offline Sopot Cela
Messages: 597
Registered: December 2010
Senior Member

Does the command have an id? If not, add it.
Re: Error after creating the Handler in Application.e4xmi [message #1022122 is a reply to message #1022110] Thu, 21 March 2013 10:04 Go to previous message
Peeyush Deshpande is currently offline Peeyush Deshpande
Messages: 12
Registered: March 2013
Junior Member
Yes, the command has the Id by default.
Not assigned any category though.
Previous Topic:Using 3.x commands
Next Topic:How are menus / toolbars related to a perspective
Goto Forum:
  


Current Time: Fri Oct 31 09:24:33 GMT 2014

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

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