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

Bug 325343

Summary: Cannot shutdown eclipse
Product: [Eclipse Project] e4 Reporter: Paul Webster <pwebster>
Component: UIAssignee: Eric Moffatt <emoffatt>
Status: CLOSED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: bokowski, remy.suen
Version: 1.0   
Target Milestone: 4.1 M2   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Failed to close problem view stack
none
Log with NPE none

Description Paul Webster CLA 2010-09-15 08:17:40 EDT
Created attachment 178918 [details]
Failed to close problem view stack

I deleted my deltas.xml and started up I20100914-1023 on my e4 workspace.  Worked with it for a while, and then I used File>Exit.

It's destroyed all stacks except the one with the problems view (see image) and now refuses to exit.

I'll attach the full log as well.

!ENTRY org.eclipse.ui.workbench 4 2 2010-09-15 08:16:45.669
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.e4.ui.workbench.renderers.swt.SashRenderer.hideChild(SashRenderer.java:317)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:517)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:528)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:528)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:528)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:528)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:528)
	at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1355)
Comment 1 Paul Webster CLA 2010-09-15 08:18:01 EDT
Created attachment 178919 [details]
Log with NPE
Comment 2 Remy Suen CLA 2010-09-15 08:21:56 EDT
The SashRenderer problem should be fixed by bug 324230.

There is another problem preventing the workbench from shutting down gracefully but I don't have a reproducible test case. In any case, I have to stress again that we _must_ use ISafeRunnables for the rendering engine's methods (bug 323014) because a single point of failure can prevent the entire application from being brought up/down.
Comment 3 Paul Webster CLA 2010-09-15 08:29:33 EDT

*** This bug has been marked as a duplicate of bug 324230 ***