org.eclipse.swt.SWTException: Invalid thread access

Pentaho BI Platform Tracking | Siegmund Gorr | 5 years ago
  1. 0

    Starting from spoon app64 does not lead to anything: no windows, only the startimage in the bar and when clicked onto the image disapears. Starting from command line, leads to the following exception: java -Xmx256m -Xms256m -XX:MaxPermSize=128m -cp launcher/launcher.jar:libswt/osx64/swt.jar org.pentaho.commons.launcher.Launcher ***WARNING: Display must be created on main thread due to Cocoa restrictions. org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.SWT.error(SWT.java:3969) at org.eclipse.swt.widgets.Display.error(Display.java:1027) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:794) at org.eclipse.swt.widgets.Display.create(Display.java:777) at org.eclipse.swt.graphics.Device.<init>(Device.java:130) at org.eclipse.swt.widgets.Display.<init>(Display.java:668) at org.eclipse.swt.widgets.Display.<init>(Display.java:659) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:510) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:134) I would be glad to find the source of the launcher.jar to fix it even for me, but I did not find it within the sources. So any help would be fine.

    Pentaho BI Platform Tracking | 5 years ago | Siegmund Gorr
    org.eclipse.swt.SWTException: Invalid thread access
  2. 0

    Starting from spoon app64 does not lead to anything: no windows, only the startimage in the bar and when clicked onto the image disapears. Starting from command line, leads to the following exception: java -Xmx256m -Xms256m -XX:MaxPermSize=128m -cp launcher/launcher.jar:libswt/osx64/swt.jar org.pentaho.commons.launcher.Launcher ***WARNING: Display must be created on main thread due to Cocoa restrictions. org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.SWT.error(SWT.java:3969) at org.eclipse.swt.widgets.Display.error(Display.java:1027) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:794) at org.eclipse.swt.widgets.Display.create(Display.java:777) at org.eclipse.swt.graphics.Device.<init>(Device.java:130) at org.eclipse.swt.widgets.Display.<init>(Display.java:668) at org.eclipse.swt.widgets.Display.<init>(Display.java:659) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:510) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:134) I would be glad to find the source of the launcher.jar to fix it even for me, but I did not find it within the sources. So any help would be fine.

    Pentaho BI Platform Tracking | 5 years ago | Siegmund Gorr
    org.eclipse.swt.SWTException: Invalid thread access
  3. 0

    Exception when instantiating CVSLightweightDecorator

    Eclipse Bugzilla | 6 years ago | torkildr
    org.eclipse.swt.SWTException: Invalid thread access
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SWTException on trying to async(Thread) to display

    Stack Overflow | 2 years ago | Saftkeks
    org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Invalid thread access)
  6. 0

    GitHub comment 29#4300749

    GitHub | 5 years ago | eed3si9n
    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.<init>
      1. org.eclipse.swt.SWT.error(SWT.java:4083)
      2. org.eclipse.swt.SWT.error(SWT.java:3998)
      3. org.eclipse.swt.SWT.error(SWT.java:3969)
      4. org.eclipse.swt.widgets.Display.error(Display.java:1027)
      5. org.eclipse.swt.widgets.Display.createDisplay(Display.java:794)
      6. org.eclipse.swt.widgets.Display.create(Display.java:777)
      7. org.eclipse.swt.graphics.Device.<init>(Device.java:130)
      8. org.eclipse.swt.widgets.Display.<init>(Display.java:668)
      9. org.eclipse.swt.widgets.Display.<init>(Display.java:659)
      9 frames
    3. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:510)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame