Project: aptanastudio
Issue APSTUD-4599: Widget disposed too early
This appears in my log file when shutting down Studio. Note it appears for both the Samples view and the Console view: {code} !ENTRY org.eclipse.ui.workbench 4 0 2012-04-02 10:49:22.591 !MESSAGE Widget disposed too early for part com.aptana.samples.ui.SamplesView !STACK 0 java.lang.RuntimeException: Widget disposed too early for part com.aptana.samples.ui.SamplesView org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461) org.eclipse.swt.widgets.Widget.release(Widget.java:1299) org.eclipse.swt.widgets.Control.release(Control.java:2817) org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903) org.eclipse.swt.widgets.Widget.release(Widget.java:1302) org.eclipse.swt.widgets.Control.release(Control.java:2817) org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903) org.eclipse.swt.widgets.Widget.release(Widget.java:1302) org.eclipse.swt.widgets.Control.release(Control.java:2817) org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903) org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:313) org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:391) org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1372) org.eclipse.swt.widgets.Widget.release(Widget.java:1302) org.eclipse.swt.widgets.Control.release(Control.java:2817) org.eclipse.swt.widgets.Widget.dispose(Widget.java:662) org.eclipse.jface.window.Window.close(Window.java:335) org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:307) org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1761) org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730) org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715) org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860) org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858) org.eclipse.jface.window.WindowManager.close(WindowManager.java:109) org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1109) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1106) org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1035) org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1279) org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) org.eclipse.ui.internal.Workbench.close(Workbench.java:1277) org.eclipse.ui.internal.Workbench.close(Workbench.java:1249) org.eclipse.ui.internal.Workbench$65.handleEvent(Workbench.java:2564) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5142) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4876) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5223) org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3604) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) org.eclipse.equinox.launcher.Main.run(Main.java:1410) org.eclipse.equinox.launcher.Main.main(Main.java:1386) !ENTRY org.eclipse.ui.workbench 4 0 2012-04-02 10:49:22.593 !MESSAGE Widget disposed too early for part org.eclipse.ui.console.ConsoleView !STACK 0 java.lang.RuntimeException: Widget disposed too early for part org.eclipse.ui.console.ConsoleView org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171) org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480) org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1461) org.eclipse.swt.widgets.Widget.release(Widget.java:1299) org.eclipse.swt.widgets.Control.release(Control.java:2817) org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903) org.eclipse.swt.widgets.Widget.release(Widget.java:1302) org.eclipse.swt.widgets.Control.release(Control.java:2817) org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903) org.eclipse.swt.widgets.Widget.release(Widget.java:1302) org.eclipse.swt.widgets.Control.release(Control.java:2817) org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:903) org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:313) org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:391) org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1372) org.eclipse.swt.widgets.Widget.release(Widget.java:1302) org.eclipse.swt.widgets.Control.release(Control.java:2817) org.eclipse.swt.widgets.Widget.dispose(Widget.java:662) org.eclipse.jface.window.Window.close(Window.java:335) org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:307) org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1761) org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730) org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715) org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860) org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858) org.eclipse.jface.window.WindowManager.close(WindowManager.java:109) org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1109) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1106) org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1035) org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1279) org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) org.eclipse.ui.internal.Workbench.close(Workbench.java:1277) org.eclipse.ui.internal.Workbench.close(Workbench.java:1249) org.eclipse.ui.internal.Workbench$65.handleEvent(Workbench.java:2564) org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125) org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5142) org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4876) org.eclipse.swt.widgets.Display.applicationProc(Display.java:5223) org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94) org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3604) org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) org.eclipse.equinox.launcher.Main.run(Main.java:1410) org.eclipse.equinox.launcher.Main.main(Main.java:1386) {code}
Story points: 8