Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-1383

Widget is disposed related to SamplesView.run()

    Details

    • Story Points:
      2

      Description

      Noticed this in a log file. Add reproduction steps if you can figure them out

      !ENTRY org.eclipse.jface 4 0 2012-03-16 10:59:55.337
      !MESSAGE Unhandled event loop exception during blocked modal context.
      !STACK 0
      org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
      	at org.eclipse.swt.SWT.error(SWT.java:4282)
      	at org.eclipse.swt.SWT.error(SWT.java:4197)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
      	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
      	at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
      	at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
      	at com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.disconnectFromWorkspace(IDEWorkbenchAdvisor.java:499)
      	at com.appcelerator.titanium.rcp.IDEWorkbenchAdvisor.postShutdown(IDEWorkbenchAdvisor.java:407)
      	at org.eclipse.ui.internal.Workbench.shutdown(Workbench.java:3023)
      	at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1118)
      	at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1035)
      	at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1279)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1277)
      	at org.eclipse.ui.internal.Workbench.close(Workbench.java:1249)
      	at com.appcelerator.titanium.core.TitaniumUserManager.signOut(TitaniumUserManager.java:172)
      	at com.appcelerator.titanium.ui.internal.TitaniumHomeControlContribution.signOut(TitaniumHomeControlContribution.java:110)
      	at com.appcelerator.titanium.ui.internal.TitaniumHomeControlContribution.access$2(TitaniumHomeControlContribution.java:104)
      	at com.appcelerator.titanium.ui.internal.TitaniumHomeControlContribution$2.widgetSelected(TitaniumHomeControlContribution.java:86)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
      	at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1094)
      	at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1071)
      	at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5534)
      	at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1896)
      	at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5086)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4584)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
      	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
      	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425)
      	at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
      	at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:2057)
      	at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4912)
      	at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:909)
      	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4565)
      	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
      	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
      	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
      	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
      	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
      	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      	at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
      Caused by: org.eclipse.swt.SWTException: Widget is disposed
      	at org.eclipse.swt.SWT.error(SWT.java:4282)
      	at org.eclipse.swt.SWT.error(SWT.java:4197)
      	at org.eclipse.swt.SWT.error(SWT.java:4168)
      	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.Tree.getSelection(Tree.java:3402)
      	at org.eclipse.jface.viewers.TreeViewer.getSelection(TreeViewer.java:256)
      	at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:344)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2521)
      	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2944)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1450)
      	at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
      	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1404)
      	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1506)
      	at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537)
      	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1465)
      	at com.aptana.samples.ui.views.SamplesView$1$1.run(SamplesView.java:63)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	... 61 more
      

        Attachments

          Activity

            People

            • Assignee:
              mxia Michael Xia
              Reporter:
              ingo Ingo Muschenetz
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: