Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 358910

Summary: org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTError: No more handles)
Product: [Eclipse Project] Platform Reporter: santhosh <santhoshkotte>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, santhoshkotte
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description santhosh CLA 2011-09-26 11:06:33 EDT
Build Identifier: 3.4.1

Hi guys
I have just started using Eclipse.I am working on a java based tool.
When I try to open multiple windows,following exception is thrown.
at org.eclipse.swt.SWT.error(SWT.java:3803)
	at org.eclipse.swt.SWT.error(SWT.java:3695)
	at org.eclipse.swt.SWT.error(SWT.java:3666)
	at org.eclipse.swt.graphics.Image.init(Image.java:1648)
	at org.eclipse.swt.graphics.Image.init(Image.java:1943)
	at org.eclipse.swt.graphics.Image.<init>(Image.java:450)
	at com.ibm.mozart.mwt.internal.widgets.Shadow.redrawShadow(Unknown Source)
	at com.ibm.mozart.mwt.internal.widgets.Shadow.access$1(Unknown Source)
	at com.ibm.mozart.mwt.internal.widgets.Shadow$2.controlResized(Unknown Source)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:80)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
	at org.eclipse.swt.widgets.Control.sendResize(Control.java:2460)
	at org.eclipse.swt.widgets.Composite.sendResize(Composite.java:848)
	at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:898)
	at org.eclipse.swt.widgets.Decorations.setBounds(Decorations.java:857)
	at org.eclipse.swt.widgets.Shell.setBounds(Shell.java:1405)
	at org.eclipse.swt.widgets.Control.setBounds(Control.java:2588)
	at org.eclipse.swt.widgets.Control.setBounds(Control.java:2584)
	at org.eclipse.swt.widgets.Control.setBounds(Control.java:2651)
	at org.eclipse.jface.window.Window.initializeBounds(Window.java:766)
	at org.eclipse.jface.dialogs.Dialog.initializeBounds(Dialog.java:714)
	at org.eclipse.jface.window.Window.create(Window.java:435)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
	at org.eclipse.jface.window.Window.open(Window.java:790)
	at com.ibm.mozart.ui.internal.StatusHandler$4.run(Unknown Source)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)

I have searched the forums for a solution but could not find any.
We are using Eclipse v3.4.1.
Is this issue resolved in the newer version?
Is there any work around to this problem?


Reproducible: Couldn't Reproduce
Comment 1 santhosh CLA 2011-09-26 11:09:01 EDT
I could reproduce this error only with the tool I am using.
I cannot send you a test case.
Comment 2 Dani Megert CLA 2011-09-27 02:09:52 EDT
(In reply to comment #1)
> I could reproduce this error only with the tool I am using.
> I cannot send you a test case.

The error indicates that your tool is leaking OS resources. Please take up the bug with the tool provider.