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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:674)
at org.eclipse.swt.widgets.Display.create(Display.java:735)
at org.eclipse.swt.graphics.Device.(Device.java:129)
at org.eclipse.swt.widgets.Display.(Display.java:430)
at org.eclipse.swt.widgets.Display.(Display.java:421)
at com.prodomestic.main.ProDomesticMain.(ProDomesticMain.java:33)
at com.prodomestic.main.TenantDets.(TenantDets.java:8)
at com.prodomestic.main.ProDomesticMain$1.widgetSelected(ProDomesticMain.java:208)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at com.prodomestic.main.ProDomesticMain.mainscreen(ProDomesticMain.java:62)
at com.prodomestic.main.ProDomesticMain.main(ProDomesticMain.java:251)

Users with the same issue

Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 8 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

Write tip

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