Project: Eclipse_Platform_UI
Bug 349104 SWTException thrown after changing perspective and closing the window
Reported: 2011-06-10 21:08:13 | Status: verified fixed

1. Window > New Window 2. Window > Open Perspective > Debug 3. Hover your mouse over the 'Java' perspective's tool item. 4. Click on it and then immediately hit Alt+F4. 5. An SWTException will occur. Caused by: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:4277) at org.eclipse.swt.SWT.error(SWT.java:4192) at org.eclipse.swt.SWT.error(SWT.java:4163) at org.eclipse.swt.widgets.Widget.error(Widget.java:468) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340) at org.eclipse.swt.widgets.Composite.layout(Composite.java:661) at org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon$4$1.run(MinMaxAddon.java:234) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 24 more

Files changed in fix:
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/minmax/MinMaxAddon.java