Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWTException: Graphic is disposed
SWTException: Graphic is disposed [message #1433991] Mon, 29 September 2014 10:16
Eclipse UserFriend
We get this exception in our code quite randomly and not easy to re-create. It is not clear to me which Control throws an exception like this. Any ideas on its cause or how to debug.

Caused by: org.eclipse.swt.SWTException: Graphic is disposed
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.graphics.Image.getBounds(Unknown Source)
at org.eclipse.swt.widgets.Label.computeSize(Unknown Source)
at org.eclipse.swt.layout.GridData.computeSize(Unknown Source)
at org.eclipse.swt.layout.GridLayout.layout(Unknown Source)
at org.eclipse.swt.layout.GridLayout.layout(Unknown Source)
at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source)
at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source)
at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source)
at org.eclipse.swt.widgets.Composite.layout(Unknown Source)
at org.eclipse.swt.widgets.Display.runSettings(Unknown Source)
at org.eclipse.swt.widgets.Display.messageProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at xxx.yyy.zzz.client.uiframework.App.main(App.java:1701)


Thanks and appreciate any help provided

Rajesh
Previous Topic:sql.Date in widget DataTime
Next Topic:TabFolder usage on SWT 4.4 on Linux
Goto Forum:
  


Current Time: Sat Nov 08 15:17:54 EST 2025

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

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

Back to the top