org.eclipse.swt.SWTException: Invalid thread access

Appcelerator JIRA | Praveen Innamuri | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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)

    Appcelerator JIRA | 4 years ago | Praveen Innamuri
    org.eclipse.swt.SWTException: Invalid thread access
  2. 0

    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)

    Appcelerator JIRA | 4 years ago | Praveen Innamuri
    org.eclipse.swt.SWTException: Invalid thread access
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.eclipse.swt.SWTException

      Invalid thread access

      at org.eclipse.swt.SWT.error()
    2. RWT
      Combo.getSelectionIndex
      1. org.eclipse.swt.SWT.error(SWT.java:4397)
      2. org.eclipse.swt.SWT.error(SWT.java:4312)
      3. org.eclipse.swt.SWT.error(SWT.java:4283)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:783)
      5. org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:574)
      6. org.eclipse.swt.widgets.Combo.getSelectionIndex(Combo.java:888)
      6 frames
    3. JFace
      StructuredViewer.getSelection
      1. org.eclipse.jface.viewers.ComboViewer.listGetSelectionIndices(ComboViewer.java:124)
      2. org.eclipse.jface.viewers.AbstractListViewer.getSelectionFromWidget(AbstractListViewer.java:280)
      3. org.eclipse.jface.viewers.StructuredViewer.getSelection(StructuredViewer.java:1045)
      3 frames
    4. com.appcelerator.titanium
      TiAppDeployTargetsSection$1.preferenceChange
      1. com.appcelerator.titanium.ui.ide.tiappEditor.TiAppSDKSection.getSupportedPlatformSDKs(TiAppSDKSection.java:436)
      2. com.appcelerator.titanium.ui.ide.tiappEditor.TiAppDeployTargetsSection.updateControlsEnablement(TiAppDeployTargetsSection.java:370)
      3. com.appcelerator.titanium.ui.ide.tiappEditor.TiAppDeployTargetsSection$1.preferenceChange(TiAppDeployTargetsSection.java:167)
      3 frames
    5. Eclipse Preferences Mechanism
      EclipsePreferences$3.run
      1. org.eclipse.core.internal.preferences.EclipsePreferences$3.run(EclipsePreferences.java:896)
      1 frame
    6. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    7. Eclipse Preferences Mechanism
      EclipsePreferences.put
      1. org.eclipse.core.internal.preferences.EclipsePreferences.firePreferenceEvent(EclipsePreferences.java:899)
      2. org.eclipse.core.internal.preferences.EclipsePreferences.put(EclipsePreferences.java:912)
      2 frames
    8. com.appcelerator.titanium
      PlatformsConfigurationWizard$1.run
      1. com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.setSDKPath(BaseMobilePlatformConfigurer.java:102)
      2. com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.doConfigure(BaseMobilePlatformConfigurer.java:68)
      3. com.appcelerator.titanium.tizen.ui.configuration.TizenSDKConfigurer.doConfigure(TizenSDKConfigurer.java:77)
      4. com.appcelerator.titanium.ui.mobile.BaseMobilePlatformConfigurer.configure(BaseMobilePlatformConfigurer.java:44)
      5. com.appcelerator.titanium.ui.wizard.PlatformsConfigurationWizard$1.run(PlatformsConfigurationWizard.java:119)
      5 frames
    9. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      1 frame