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

Getting a "widget is disposed" exception when closing the TiApp.xml editor after creating a new mobile project

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Titanium Studio 1.0.2
    • Fix Version/s: Titanium Studio 1.0.6
    • Component/s: None
    • Labels:
      None

      Description

      I created a new TiMobile project using SDK 1.7.2 and targeting iPhone. After the project was created, I closed the TiApp.xml editor and got an error dialog. Here is the associated stack trace:

      !ENTRY org.eclipse.ui 4 4 2011-08-10 16:52:17.041
      !MESSAGE An internal error has occurred.
      !STACK 0
      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:774)
      	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:568)
      	at org.eclipse.swt.widgets.Control.isEnabled(Control.java:2211)
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppBasicSection.validateIcon(TiAppBasicSection.java:468)
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppBasicSection.access$9(TiAppBasicSection.java:465)
      	at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppBasicSection$2.runInUIThread(TiAppBasicSection.java:335)
      	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
      	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3935)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3612)
      	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(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	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)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
      

        Attachments

          Activity

            People

            • Assignee:
              sgibly Shalom Gibly
              Reporter:
              klindsey Kevin Lindsey
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: