Community
Participate
Working Groups
I found multiple stacktraces like this in my tomcat catalina.out log file: java.lang.NullPointerException at org.eclipse.ui.internal.menus.WorkbenchMenuService.<init>(WorkbenchMenuService.java:265) at org.eclipse.ui.internal.Workbench.initializeDefaultServices(Workbench.java:1668) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2404) at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:2295) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:333) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:497) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:157) at com.yoxos.yim.ui.rap.YODWorkbench.createUI(YODWorkbench.java:30) at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:92) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:228) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:116) at java.lang.Thread.run(Thread.java:595)
Jordi, can you provide a snippet to reproduce it?
Stumbled across this while playing with workbench restarts. This happens if you try to start the workbench twice. Not sure we should support this scenario or if RCP supports it (need to check against RCP 3.4) Entrypint: Display display = PlatformUI.createDisplay(); PlatformUI.createAndRunWorkbench( display, worbenchAdvisor ); PlatformUI.createAndRunWorkbench( display, worbenchAdvisor );
I don't consider the use case described in comment #2 as valid. If the exception is caused by something else, please reopen and provide information how it can be provoked.