org.eclipse.swt.SWTException

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.

  • Running a runtime workbench on the latest Eclipse 4.4 builds (STS nightly on 4.4) and I am getting the following invalid thread access exception when shutting down my runtime workbench. {noformat} !ENTRY com.vmware.vfabric.ide.eclipse.tcserver.insight.ui 4 0 2014-05-20 17:56:47.122 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: Exception in com.vmware.vfabric.ide.eclipse.tcserver.insight.internal.ui.Activator.stop() of bundle com.vmware.vfabric.ide.eclipse.tcserver.insight.ui. at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847) at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542) at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160) at java.lang.Thread.run(Thread.java:744) Caused by: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4441) at org.eclipse.swt.SWT.error(SWT.java:4356) at org.eclipse.swt.SWT.error(SWT.java:4327) at org.eclipse.swt.widgets.Display.error(Display.java:1083) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840) at org.eclipse.swt.widgets.Display.create(Display.java:823) at org.eclipse.swt.graphics.Device.<init>(Device.java:130) at org.eclipse.swt.widgets.Display.<init>(Display.java:714) at org.eclipse.swt.widgets.Display.<init>(Display.java:705) at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403) at com.vmware.vfabric.ide.eclipse.tcserver.insight.internal.ui.Activator.stop(Activator.java:62) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820) ... 13 more Root exception: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4441) at org.eclipse.swt.SWT.error(SWT.java:4356) at org.eclipse.swt.SWT.error(SWT.java:4327) at org.eclipse.swt.widgets.Display.error(Display.java:1083) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840) at org.eclipse.swt.widgets.Display.create(Display.java:823) at org.eclipse.swt.graphics.Device.<init>(Device.java:130) at org.eclipse.swt.widgets.Display.<init>(Display.java:714) at org.eclipse.swt.widgets.Display.<init>(Display.java:705) at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403) at com.vmware.vfabric.ide.eclipse.tcserver.insight.internal.ui.Activator.stop(Activator.java:62) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820) at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542) at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160) at java.lang.Thread.run(Thread.java:744) ***WARNING: Display must be created on main thread due to Cocoa restrictions. ***WARNING: Display must be created on main thread due to Cocoa restrictions. {noformat}
    via by Martin Lippert (c),
  • Running a runtime workbench on the latest Eclipse 4.4 builds (STS nightly on 4.4) and I am getting the following invalid thread access exception when shutting down my runtime workbench. {noformat} !ENTRY com.vmware.vfabric.ide.eclipse.tcserver.insight.ui 4 0 2014-05-20 17:56:47.122 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: Exception in com.vmware.vfabric.ide.eclipse.tcserver.insight.internal.ui.Activator.stop() of bundle com.vmware.vfabric.ide.eclipse.tcserver.insight.ui. at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:847) at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542) at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160) at java.lang.Thread.run(Thread.java:744) Caused by: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4441) at org.eclipse.swt.SWT.error(SWT.java:4356) at org.eclipse.swt.SWT.error(SWT.java:4327) at org.eclipse.swt.widgets.Display.error(Display.java:1083) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840) at org.eclipse.swt.widgets.Display.create(Display.java:823) at org.eclipse.swt.graphics.Device.<init>(Device.java:130) at org.eclipse.swt.widgets.Display.<init>(Display.java:714) at org.eclipse.swt.widgets.Display.<init>(Display.java:705) at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403) at com.vmware.vfabric.ide.eclipse.tcserver.insight.internal.ui.Activator.stop(Activator.java:62) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820) ... 13 more Root exception: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4441) at org.eclipse.swt.SWT.error(SWT.java:4356) at org.eclipse.swt.SWT.error(SWT.java:4327) at org.eclipse.swt.widgets.Display.error(Display.java:1083) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840) at org.eclipse.swt.widgets.Display.create(Display.java:823) at org.eclipse.swt.graphics.Device.<init>(Device.java:130) at org.eclipse.swt.widgets.Display.<init>(Display.java:714) at org.eclipse.swt.widgets.Display.<init>(Display.java:705) at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403) at com.vmware.vfabric.ide.eclipse.tcserver.insight.internal.ui.Activator.stop(Activator.java:62) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820) at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542) at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160) at java.lang.Thread.run(Thread.java:744) ***WARNING: Display must be created on main thread due to Cocoa restrictions. ***WARNING: Display must be created on main thread due to Cocoa restrictions. {noformat}
    via by Martin Lippert,
  • [outline] Exception during outline refresh
    via by sebastian.zarnekow,
  • SWT window runnable on Linux but not on Mac
    via by Unknown author,
  • Eclipse Crashing After Splash Screen
    via Stack Overflow by schoi
    ,
  • SWT error on OSX with Maven
    via Stack Overflow by flatronka
    ,
    • org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4441) at org.eclipse.swt.SWT.error(SWT.java:4356) at org.eclipse.swt.SWT.error(SWT.java:4327) at org.eclipse.swt.widgets.Display.error(Display.java:1083) at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840) at org.eclipse.swt.widgets.Display.create(Display.java:823) at org.eclipse.swt.graphics.Device.<init>(Device.java:130) at org.eclipse.swt.widgets.Display.<init>(Display.java:714) at org.eclipse.swt.widgets.Display.<init>(Display.java:705) at org.eclipse.swt.widgets.Display.getDefault(Display.java:1403) at com.vmware.vfabric.ide.eclipse.tcserver.insight.internal.ui.Activator.stop(Activator.java:62) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:827) at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:820) at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:950) at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:324) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1623) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1542) at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:248) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:145) at org.eclipse.osgi.container.Module.doStop(Module.java:626) at org.eclipse.osgi.container.Module.stop(Module.java:488) at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:186) at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:160) at java.lang.Thread.run(Thread.java:744)

    Users with the same issue

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