Project: appceleratorstudio
Issue TISTUD-5423: Invalid thread access exception while changing the tiapp sdk preference
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 org.eclipse.swt.SWT.error(SWT.java:4397) org.eclipse.swt.SWT.error(SWT.java:4312) org.eclipse.swt.SWT.error(SWT.java:4283) org.eclipse.swt.widgets.Widget.error(Widget.java:783) org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:574) org.eclipse.swt.widgets.Combo.getSelectionIndex(Combo.java:888) org.eclipse.jface.viewers.ComboViewer.listGetSelectionIndices(ComboViewer.java:124) org.eclipse.jface.viewers.AbstractListViewer.getSelectionFromWidget(AbstractListViewer.java:280) org.eclipse.jface.viewers.StructuredViewer.getSelection(StructuredViewer.java:1045) com.appcelerator.titanium.ui.ide.tiappEditor.TiAppSDKSection.getSupportedPlatformSDKs(TiAppSDKSection.java:436) com.appcelerator.titanium.ui.ide.tiappEditor.TiAppDeployTargetsSection.updateControlsEnablement(TiAppDeployTargetsSection.java:370) com.appcelerator.titanium.ui.ide.tiappEditor.TiAppDeployTargetsSection$1.preferenceChange(TiAppDeployTargetsSection.java:167) org.eclipse.core.internal.preferences.EclipsePreferences$3.run(EclipsePreferences.java:896) org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(EclipsePreferences.java:899) org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:912) com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.setSDKPath(BaseMobilePlatformConfigurer.java:102) com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.doConfigure(BaseMobilePlatformConfigurer.java:68) com.appcelerator.titanium.tizen.ui.configuration.TizenSDKConfigurer.doConfigure(TizenSDKConfigurer.java:77) com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.configure(BaseMobilePlatformConfigurer.java:44) com.appcelerator.titanium.ui.wizard.PlatformsConfigurationWizard$1.run(PlatformsConfigurationWizard.java:119) org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Story points: 3