Eclipse Startup Org.eclipse.swt.SWTException:Invalid Thread Access problem solving method

Source: Internet
Author: User

When I recently used Eclipse, when I finished selecting workspace, Eclipse started loading and launching, and at this stage there was a lot of flash exits.

See the log file prompt for content:

Org.eclipse.swt.SWTException:Invalid thread Accessat 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:1258) at Org.eclipse.swt.widgets.Display.checkDevice ( display.java:764) at Org.eclipse.swt.widgets.Display.addListener (display.java:626) at Org.eclipse.ui.internal.ide.application.ideworkbenchadvisor.<init> (ideworkbenchadvisor.java:177) at Org.eclipse.ui.internal.ide.application.ideworkbenchadvisor.<init> (ideworkbenchadvisor.java:185) at Org.eclipse.ui.internal.ide.application.IDEApplication.start (ideapplication.java:136) at Org.eclipse.equinox.internal.app.EclipseAppHandle.run (eclipseapphandle.java:196) at Org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (eclipseapplauncher.java:134) at Org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (eclipseapplauncher.java:104) at Org.eclipse.core.runtime.adaptor.EclipseStarTer.run (eclipsestarter.java:380) at Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:235) At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at Sun.reflect.NativeMethodAccessorImpl.invoke ( Unknown source) at Sun.reflect.DelegatingMethodAccessorImpl.invoke (Unknown source) at Java.lang.reflect.Method.invoke (Unknown Source) at Org.eclipse.equinox.launcher.Main.invokeFramework (Main.java : 648) at Org.eclipse.equinox.launcher.Main.basicRun (main.java:603) at Org.eclipse.equinox.launcher.Main.run ( main.java:1465)
Find a way from the Internet: What does it mean to add a-clean to eclipse at startup?

The simplest way is to find Eclipse.exe in the installation directory, create shortcuts, right-click shortcuts, add "-clean" to the target path;

Such as


Finally, you can run the eclipse! successfully with a shortcut

This problem appeared many times, each time let me re-build workspace, today's small series of anger, hands-on Find the next method, convenient for themselves, but also to share to everyone!


Eclipse Startup Org.eclipse.swt.SWTException:Invalid Thread Access problem solving method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.