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

Invalid thread access exception while changing the tiapp sdk preference

    Details

    • Story Points:
      3
    • Theme:
    • Sprint:
      2013 Sprint 20

      Description

      I have notice the below exception after playing around with tiapp file and sdk locations.

      ENTRY org.eclipse.equinox.preferences 4 2 2013-09-20 13:48:35.238
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.equinox.preferences".
      !STACK 0
      org.eclipse.swt.SWTException: Invalid thread access
      at org.eclipse.swt.SWT.error(SWT.java:4397)
      at org.eclipse.swt.SWT.error(SWT.java:4312)
      at org.eclipse.swt.SWT.error(SWT.java:4283)
      at org.eclipse.swt.widgets.Widget.error(Widget.java:783)
      at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:574)
      at org.eclipse.swt.widgets.Combo.getSelectionIndex(Combo.java:888)
      at org.eclipse.jface.viewers.ComboViewer.listGetSelectionIndices(ComboViewer.java:124)
      at org.eclipse.jface.viewers.AbstractListViewer.getSelectionFromWidget(AbstractListViewer.java:280)
      at org.eclipse.jface.viewers.StructuredViewer.getSelection(StructuredViewer.java:1045)
      at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppSDKSection.getSupportedPlatformSDKs(TiAppSDKSection.java:436)
      at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppDeployTargetsSection.updateControlsEnablement(TiAppDeployTargetsSection.java:370)
      at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppDeployTargetsSection$1.preferenceChange(TiAppDeployTargetsSection.java:167)
      at org.eclipse.core.internal.preferences.EclipsePreferences$3.run(EclipsePreferences.java:896)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(EclipsePreferences.java:899)
      at org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:912)
      at com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.setSDKPath(BaseMobilePlatformConfigurer.java:102)
      at com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.doConfigure(BaseMobilePlatformConfigurer.java:68)
      at com.appcelerator.titanium.tizen.ui.configuration.TizenSDKConfigurer.doConfigure(TizenSDKConfigurer.java:77)
      at com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.configure(BaseMobilePlatformConfigurer.java:44)
      at com.appcelerator.titanium.ui.wizard.PlatformsConfigurationWizard$1.run(PlatformsConfigurationWizard.java:119)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

        Attachments

          Activity

            People

            • Assignee:
              mxia Michael Xia
              Reporter:
              pinnamuri Praveen Innamuri (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: