Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » org.eclipse.swt.SWTException: Failed to execute runnable
org.eclipse.swt.SWTException: Failed to execute runnable [message #902221] Thu, 16 August 2012 12:24 Go to next message
Surya Kathayat is currently offline Surya KathayatFriend
Messages: 44
Registered: July 2012

I am getting the following exception while I select/mode elements within a graphiti based editor.
I exactly don't know when this will happen, it happens in an unexpected manner and frizes entire application.
Exceptions seems to happen (looking at the exception trace) while redrawing/repainting something, not sure what!!! any ideas or experiences??

Best Regards

!ENTRY org.eclipse.ui 4 0 2012-08-16 14:17:26.606
!MESSAGE Unhandled event loop exception
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Graphic is disposed)
at org.eclipse.swt.SWT.error(
at org.eclipse.swt.SWT.error(
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
at org.eclipse.swt.widgets.Display.runAsyncMessages(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.ui.internal.Workbench.runEventLoop(
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.access$4(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
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(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(
Caused by: org.eclipse.swt.SWTException: Graphic is disposed
at org.eclipse.swt.SWT.error(
at org.eclipse.swt.SWT.error(
at org.eclipse.swt.SWT.error(
at org.eclipse.draw2d.SWTGraphics.init(
at org.eclipse.draw2d.SWTGraphics.<init>(
at org.eclipse.draw2d.DeferredUpdateManager.paint(
at org.eclipse.draw2d.LightweightSystem.paint(
at org.eclipse.draw2d.LightweightSystem$2.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Composite.WM_PAINT(
at org.eclipse.swt.widgets.Control.windowProc(
at org.eclipse.swt.widgets.Canvas.windowProc(
at org.eclipse.swt.widgets.Display.windowProc(
at org.eclipse.swt.internal.win32.OS.RedrawWindow(Native Method)
at org.eclipse.swt.widgets.Control.update(
at org.eclipse.swt.widgets.Control.update(
at org.eclipse.draw2d.NativeGraphicsSource.getGraphics(
at org.eclipse.draw2d.DeferredUpdateManager.getGraphics(
at org.eclipse.draw2d.DeferredUpdateManager.repairDamage(
at org.eclipse.draw2d.DeferredUpdateManager.performUpdate(
at org.eclipse.draw2d.DeferredUpdateManager$
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
... 23 more
Re: org.eclipse.swt.SWTException: Failed to execute runnable [message #903701 is a reply to message #902221] Mon, 20 August 2012 11:41 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1894
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Hm, that's hard to track back. It seems some kind of asynchronous refresh is
running for an already closed diagram - at least usually that is the cause
for such exceptions, although that appears strange on move or select.

Unfortunatly the caused by stacktract doesn't go back enough the see the
cause. Are there any file modification operations involved? I'm asking
because they might trigger diagram refreshes from the background.

Previous Topic:Drag and Drop
Next Topic:Populating Diagram with all domain objects
Goto Forum:

Current Time: Thu Jun 21 05:10:24 GMT 2018

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

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

Back to the top