Skip to main content



      Home
Home » Newcomers » Newcomers » SWT error no more handles
SWT error no more handles [message #271708] Wed, 24 June 2009 05:38 Go to next message
Eclipse UserFriend
Hi All,

I am facing an issue of SWT leak.I am not able to proceed further with
debugging of the problem.

I get this stack trace

org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:3589)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.swt.graphics.Image.init(Image.java:1838)
at org.eclipse.swt.graphics.Image.init(Image.java:1940)
at org.eclipse.swt.graphics.Image.<init>(Image.java:319)
at org.eclipse.swt.widgets.ToolItem.updateImages(ToolItem.java: 894)
at org.eclipse.swt.widgets.ToolBar.enableWidget(ToolBar.java:42 6)
at org.eclipse.swt.widgets.Control.setEnabled(Control.java:2701 )
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2440)
at
org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration(SaveableHelper.java:274)
at
org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration(SaveableHelper.java:253)
at
org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelp er.java:148)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager .java:1345)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage .java:3202)
at
org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPa ge.java:3215)
at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:73)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:443)
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.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)

I did the sleak reveiw for the leak objects for the scenario which was
producing this error.Now the error is not appearing.
My question is, is it necessary that my code is leaking the SWT objects or
may be some other stuffs might have been done in the error scenario which
would have resulted this problem.Any hints on how to proceed with this
problem will be hugely appreciated.

Thanks and Regards,
Saurav
Re: SWT error no more handles [message #730606 is a reply to message #271708] Wed, 28 September 2011 13:15 Go to previous messageGo to next message
Eclipse UserFriend
Hi Saurav
I got the same problem.
How did you resolve it?
Re: SWT error no more handles [message #731158 is a reply to message #271708] Fri, 30 September 2011 02:56 Go to previous message
Eclipse UserFriend
On 24.06.2009 11:38, saurav wrote:
> Hi All,
>
> I am facing an issue of SWT leak.I am not able to proceed further with
> debugging of the problem.
>
....
>
> I did the sleak reveiw for the leak objects for the scenario which was
> producing this error.Now the error is not appearing.
> My question is, is it necessary that my code is leaking the SWT
> objects or may be some other stuffs might have been done in the error
> scenario which would have resulted this problem.
The handles are global i.e. if you had many other apps open while the
error happened, then it might not be the fault of your app.

Dani
> Any hints on how to proceed with this problem will be hugely appreciated.
>
> Thanks and Regards,
> Saurav
>
>
Previous Topic:eclipse using some weird version of fstream?
Next Topic:Approach between the two View
Goto Forum:
  


Current Time: Sun Jul 06 18:36:10 EDT 2025

Powered by FUDForum. Page generated in 0.07585 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top