Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363292

Summary: NPE: "The handler service cannot be null" when trying to self-host
Product: [Eclipse Project] Platform Reporter: Tomasz Zarna <tomasz.zarna>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, pwebster, remy.suen
Version: 3.8   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tomasz Zarna CLA 2011-11-09 06:48:59 EST
eclipse.buildId=I20111108-1014
java.version=1.6.0_17
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pl_PL
Framework arguments:  -product org.eclipse.sdk.ide
Command-line arguments:  -product org.eclipse.sdk.ide -data D:\workspace\eclipse\platform/../_runtimes/runtime-EclipseApplication -dev file:D:/workspace/eclipse/platform/.metadata/.plugins/org.eclipse.pde.core/Eclipse/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -debug

!ENTRY org.eclipse.ui 4 0 2011-11-09 12:45:32.798
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException: The handler service cannot be null
	at org.eclipse.ui.internal.commands.WorkbenchCommandSupport.<init>(WorkbenchCommandSupport.java:75)
	at org.eclipse.ui.internal.Workbench.initializeDefaultServices(Workbench.java:1898)
	at org.eclipse.ui.internal.Workbench.init(Workbench.java:1531)
	at org.eclipse.ui.internal.Workbench.access$36(Workbench.java:1486)
	at org.eclipse.ui.internal.Workbench$66.run(Workbench.java:2597)

I don't remember changing anything in my launch config I use to self host.
Comment 1 Paul Webster CLA 2011-11-09 07:37:29 EST
Is your launch config set up for "all workspace and target plugins" or do you have selected ones?

PW
Comment 2 Tomasz Zarna CLA 2011-11-09 09:08:32 EST
(In reply to comment #1)
> Is your launch config set up for "all workspace and target plugins" or do you
> have selected ones?

It launches "all workspace and enabled target plug-ins".
Comment 3 Paul Webster CLA 2011-11-09 09:13:37 EST
I can't reproduce this in a clean install.  Could you export your launch config? (save it on the common tab and then attach the .launch file)?

PW
Comment 4 Tomasz Zarna CLA 2011-11-14 11:58:58 EST
I can't reproduce it now neither :| Feel free to mark is as invalid, I will reopen if it happen again and I have steps at hand. I'm still on the same build, the only thing that changed is my workspace where I closed some projects from UI, JDT and PDE.
Comment 5 Paul Webster CLA 2011-11-14 12:48:19 EST
OK, if you get any new information, just re-open and I'll keep looking.

PW