org.eclipse.swt.SWTException: Invalid thread access

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • org.eclipse.swt.SWTException: Invalid thread access
    via by sanjaynkumar kumar,
  • GitHub comment 29#4300749
    via GitHub by eed3si9n
    ,
  • 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.
    via by Siegmund Gorr,
    • org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:2942) at org.eclipse.swt.SWT.error(SWT.java:2865) at org.eclipse.swt.SWT.error(SWT.java:2836) at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:627) at org.eclipse.swt.widgets.Display.create(Display.java:688) at org.eclipse.swt.graphics.Device.<init>(Device.java:129) at org.eclipse.swt.widgets.Display.<init>(Display.java:388) at org.eclipse.swt.widgets.Display.<init>(Display.java:379) at santest.test(santest.java:13) at santest.run(santest.java:28) at java.lang.Thread.run(Thread.java:595)

    Users with the same issue

    andyglick
    andyglick1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    18 more bugmates