Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325343 - Cannot shutdown eclipse
Summary: Cannot shutdown eclipse
Status: CLOSED DUPLICATE of bug 324230
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: 4.1 M2   Edit
Assignee: Eric Moffatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-15 08:17 EDT by Paul Webster CLA
Modified: 2010-09-15 08:29 EDT (History)
2 users (show)

See Also:


Attachments
Failed to close problem view stack (130.36 KB, image/png)
2010-09-15 08:17 EDT, Paul Webster CLA
no flags Details
Log with NPE (10.40 KB, text/plain)
2010-09-15 08:18 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***