org.eclipse.swt.SWTException: Invalid thread access

Appcelerator JIRA | Federico Casali | 3 years ago
  1. 0

    h5. Problem description After hard restarting the system (for everything was completely frozen), Appcelerator Studio was not starting anymore. After launching it and choosing an existing workspace, the login screen didn't appear - only the red Studio Splashscreen was being displayed. Here is the console details: {code} fcasaliMBP:MacOS fcasali$ ./AppceleratorStudio !SESSION 2013-07-26 14:38:39.771 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_51 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/fcasali/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/fcasali/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.core.resources 2 10035 2013-07-26 14:39:27.612 !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes. !ENTRY org.eclipse.core.net 1 0 2013-07-26 14:39:39.868 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences ^CException in thread "Thread-1" org.eclipse.swt.SWTException: Invalid thread access 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.dispose(Widget.java:661) at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:611) at org.eclipse.swt.widgets.Shell.windowWillClose(Shell.java:2262) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5445) at org.eclipse.equinox.launcher.JNIBridge._takedown_splash(Native Method) at org.eclipse.equinox.launcher.JNIBridge.takeDownSplash(JNIBridge.java:167) at org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:2050) at org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:111) {code} h5. Workaround After deleting the ~/.eclipse folder, Studio would start correctly.

    Appcelerator JIRA | 3 years ago | Federico Casali
    org.eclipse.swt.SWTException: Invalid thread access
  2. 0

    h5. Problem description After hard restarting the system (for everything was completely frozen), Appcelerator Studio was not starting anymore. After launching it and choosing an existing workspace, the login screen didn't appear - only the red Studio Splashscreen was being displayed. Here is the console details: {code} fcasaliMBP:MacOS fcasali$ ./AppceleratorStudio !SESSION 2013-07-26 14:38:39.771 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_51 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/fcasali/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/fcasali/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.core.resources 2 10035 2013-07-26 14:39:27.612 !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes. !ENTRY org.eclipse.core.net 1 0 2013-07-26 14:39:39.868 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences ^CException in thread "Thread-1" org.eclipse.swt.SWTException: Invalid thread access 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.dispose(Widget.java:661) at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:611) at org.eclipse.swt.widgets.Shell.windowWillClose(Shell.java:2262) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5445) at org.eclipse.equinox.launcher.JNIBridge._takedown_splash(Native Method) at org.eclipse.equinox.launcher.JNIBridge.takeDownSplash(JNIBridge.java:167) at org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:2050) at org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:111) {code} h5. Workaround After deleting the ~/.eclipse folder, Studio would start correctly.

    Appcelerator JIRA | 3 years ago | Federico Casali
    org.eclipse.swt.SWTException: Invalid thread access
  3. 0

    Eclipse hanging on start up

    Stack Overflow | 5 years ago
    org.eclipse.swt.SWTException: Invalid thread access
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Login error with Titanium Studio

    Stack Overflow | 3 years ago | nickcorin
    org.eclipse.swt.SWTException: Invalid thread access

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    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
      Display.windowProc
      1. org.eclipse.swt.SWT.error(SWT.java:4282)
      2. org.eclipse.swt.SWT.error(SWT.java:4197)
      3. org.eclipse.swt.SWT.error(SWT.java:4168)
      4. org.eclipse.swt.widgets.Widget.error(Widget.java:774)
      5. org.eclipse.swt.widgets.Widget.dispose(Widget.java:661)
      6. org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:611)
      7. org.eclipse.swt.widgets.Shell.windowWillClose(Shell.java:2262)
      8. org.eclipse.swt.widgets.Display.windowProc(Display.java:5445)
      8 frames
    3. Equinox
      Main$SplashHandler.run
      1. org.eclipse.equinox.launcher.JNIBridge._takedown_splash(Native Method)
      2. org.eclipse.equinox.launcher.JNIBridge.takeDownSplash(JNIBridge.java:167)
      3. org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:2050)
      4. org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:111)
      4 frames