When using eclipse, the following problems occur, log
! ENTRY Org.eclipse.osgi 4 0 2009-07-30 15:49:55.671
! Message Application Error
! STACK 1
Org.eclipse.swt.SWTError:No more handles
At Org.eclipse.swt.SWT.error (swt.java:3803)
At Org.eclipse.swt.graphics.Image.init (image.java:1582)
At Org.eclipse.swt.graphics.image.<init> (image.java:177)
At Org.eclipse.swt.widgets.Composite.WM_PAINT (composite.java:1367)
At Org.eclipse.swt.widgets.Control.windowProc (control.java:3842)
At Org.eclipse.swt.widgets.Canvas.windowProc (canvas.java:337)
At Org.eclipse.swt.widgets.Display.windowProc (display.java:4541)
At Org.eclipse.swt.internal.win32.OS.UpdateWindow (Native method)
At Org.eclipse.swt.widgets.Decorations.setVisible (decorations.java:1389)
At Org.eclipse.swt.widgets.Shell.setVisible (shell.java:1764)
At Org.eclipse.swt.widgets.Shell.open (shell.java:1150)
At Org.eclipse.jface.window.Window.open (window.java:797)
At Org.eclipse.ui.internal.WorkbenchWindow.open (workbenchwindow.java:778)
At Org.eclipse.ui.internal.workbench$61.runwithexception (workbench.java:3402)
At Org.eclipse.ui.internal.startupthreading$startuprunnable.run (startupthreading.java:31)
At Org.eclipse.swt.widgets.RunnableLock.run (runnablelock.java:35)
At Org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (synchronizer.java:133)
At Org.eclipse.swt.widgets.Display.runAsyncMessages (display.java:3800)
At Org.eclipse.swt.widgets.Display.readAndDispatch (display.java:3425)
At Org.eclipse.ui.application.WorkbenchAdvisor.openWindows (workbenchadvisor.java:803)
At Org.eclipse.ui.internal.workbench$27.runwithexception (workbench.java:1363)
At Org.eclipse.ui.internal.startupthreading$startuprunnable.run (startupthreading.java:31)
At Org.eclipse.swt.widgets.RunnableLock.run (runnablelock.java:35)
At Org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (synchronizer.java:133)
At Org.eclipse.swt.widgets.Display.runAsyncMessages (display.java:3800)
At Org.eclipse.swt.widgets.Display.readAndDispatch (display.java:3425)
At Org.eclipse.ui.internal.Workbench.runUI (workbench.java:2295)
At Org.eclipse.ui.internal.workbench.access$4 (workbench.java:2200)
At Org.eclipse.ui.internal.workbench$5.run (workbench.java:495)
At Org.eclipse.core.databinding.observable.Realm.runWithDefault (realm.java:288)
At Org.eclipse.ui.internal.Workbench.createAndRunWorkbench (workbench.java:490)
At Org.eclipse.ui.PlatformUI.createAndRunWorkbench (platformui.java:149)
At Org.eclipse.ui.internal.ide.application.IDEApplication.start (ideapplication.java:113)
At Org.eclipse.equinox.internal.app.EclipseAppHandle.run (eclipseapphandle.java:193)
At Org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (eclipseapplauncher.java:110)
At Org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start (eclipseapplauncher.java:79)
At Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:386)
At Org.eclipse.core.runtime.adaptor.EclipseStarter.run (eclipsestarter.java:179)
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:549)
At Org.eclipse.equinox.launcher.Main.basicRun (main.java:504)
At Org.eclipse.equinox.launcher.Main.run (main.java:1236)
Solution:
Locate the Workbench.xml file below the directory eclipse/workspace/.metadata/.plugins/org.eclipse.ui.workbench, delete the XML node
<mruList>
</mruList>
And then run Eclipse and test whether it has been resolved.
If the problem persists, look for the name of the program that was run the last time (that is, before the error) in the Workbench.xml file, such as my problem with the running Xxxxx.sql, and then look up
Xxxxx.sql string, delete the relevant parts, and then continue to run.
Can.