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