Project: Eclipse_Platform_UI
Bug 7536 Widget is disposed error closing properties view
Reported: 2002-01-14 11:19:59 | Status: resolved fixed

Build: 20020109 Description: A widget is disposed error occurs when closing the properties view when it is a fast view. Could not replicate this consistently, but here are the steps I used: Steps: 1. open properties view in team perspective 2. drag into the fast-view bar 3. expand out of fast-view 4. close it by clicking on the 'x' 5. widget disposed error will occur Log: Mon Jan 14 10:42:46 EST 2002 1 org.eclipse.core.resources 4 Unhandled exception caught in event loop. Log: Mon Jan 14 10:42:46 EST 2002 4 org.eclipse.ui 0 Widget is disposed org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:1887) at org.eclipse.swt.SWT.error(SWT.java:1819) at org.eclipse.swt.widgets.Widget.error(Widget.java:368) at org.eclipse.swt.widgets.Control.getDisplay(Control.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.isValidThread(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.ToolBar.getItemCount(ToolBar.java:447) at org.eclipse.jface.action.ToolBarManager.update (ToolBarManager.java:128) at org.eclipse.ui.internal.ViewPane$PaneToolBarManager.update (ViewPane.java:72) at org.eclipse.ui.internal.ViewPane.updateActionBars(ViewPane.java:527) at org.eclipse.ui.internal.ViewActionBars.updateActionBars (ViewActionBars.java:48) at org.eclipse.ui.internal.SubActionBars.updateActionBars (SubActionBars.java:250) at org.eclipse.pde.internal.editor.PDEMultiPagePropertySheet.updateActionBars (PDEMultiPagePropertySheet.java:137) at org.eclipse.pde.internal.editor.PDEMultiPagePropertySheet.dispose (PDEMultiPagePropertySheet.java:63) at org.eclipse.ui.views.properties.PropertySheet.doDestroyPage (PropertySheet.java:124) at org.eclipse.ui.part.PageBookView.removePage(PageBookView.java:593) at org.eclipse.ui.part.PageBookView.dispose(PageBookView.java:362) at org.eclipse.ui.views.properties.PropertySheet.dispose (PropertySheet.java:98) at org.eclipse.ui.internal.WorkbenchPage.hideView (WorkbenchPage.java:863) at org.eclipse.ui.internal.ViewPane.doHide(ViewPane.java:278) at org.eclipse.ui.internal.ViewPane$4.widgetSelected(ViewPane.java:147) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:85) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:637) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1408) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1200) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:815) at org.eclipse.ui.internal.Workbench.run(Workbench.java:798) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:821) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.Main.main(Main.java:362)

Files changed in fix:
bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/action/MenuManager.java bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/action/StatusLineManager.java bundles/org.eclipse.ui/Eclipse JFace/org/eclipse/jface/action/ToolBarManager.java