org.eclipse.swt.SWTException: Invalid thread access

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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.Widget.error(Widget.java:715)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:532)
at org.eclipse.ui.internal.WorkbenchWindow.saveState(WorkbenchWindow.java:2643)
at org.eclipse.ui.internal.Workbench.saveState(Workbench.java:2679)
at org.eclipse.ui.internal.Workbench.recordWorkbenchState(Workbench.java:2210)
at org.eclipse.ui.internal.Workbench.access$11(Workbench.java:2207)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1075)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1032)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1274)
at org.eclipse.equinox.internal.p2.ui.ProvisioningOperationRunner.requestRestart(ProvisioningOperationRunner.java:76)
at org.eclipse.equinox.internal.p2.ui.ProvisioningOperationRunner.access$0(ProvisioningOperationRunner.java:71)
at org.eclipse.equinox.internal.p2.ui.ProvisioningOperationRunner$2.done(ProvisioningOperationRunner.java:128)
at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:647)
at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:105)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
18 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.