Community
Participate
Working Groups
Steps to reproduce it: 1. Start Examples Demo 2. Click with mouse sequentially "Dialogs", "Drag & Drop", "TreeViewer" 3. Click browser "Back" button to navigate back to the "Drag & Drop" page. The following exception is thrown: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:3531) at org.eclipse.swt.SWT.error(SWT.java:3454) at org.eclipse.swt.SWT.error(SWT.java:3425) at org.eclipse.swt.widgets.Widget.error(Widget.java:951) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:894) at org.eclipse.swt.widgets.Widget.removeListener(Widget.java:537) at org.eclipse.swt.dnd.DragSource.onDispose(DragSource.java:302) at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:299) at org.eclipse.swt.dnd.DragSource$2.handleEvent(DragSource.java:170) at org.eclipse.swt.internal.widgets.UntypedEventAdapter.dispatchEvent(UntypedEventAdapter.java:646) at org.eclipse.swt.internal.widgets.UntypedEventAdapter.widgetDisposed(UntypedEventAdapter.java:78) at org.eclipse.swt.events.DisposeEvent.dispatchToObserver(DisposeEvent.java:63) at org.eclipse.rwt.internal.events.Event.processEvent(Event.java:46) at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.java:166) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:774) at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:155) at org.eclipse.swt.internal.widgets.UntypedEventAdapter.dispatchEvent(UntypedEventAdapter.java:646) at org.eclipse.swt.internal.widgets.UntypedEventAdapter.widgetDisposed(UntypedEventAdapter.java:78) at org.eclipse.swt.events.DisposeEvent.dispatchToObserver(DisposeEvent.java:63) at org.eclipse.rwt.internal.events.Event.processEvent(Event.java:46) at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.java:166) at org.eclipse.swt.events.TypedEvent.executeNext(TypedEvent.java:188) at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1134) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1124) at org.eclipse.rap.examples.internal.MainUi.createUI(MainUi.java:56) at org.eclipse.rap.examples.internal.Application.createUI(Application.java:19) at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:90) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:172) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:280) at java.lang.Thread.run(Thread.java:722) at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:101)
Similar situation but with Canvas page: 1. Start Examples Demo 2. Click with mouse sequentially "TableViewer", "Canvas", "RowLayout" 3. Click browser "Back" button to navigate back to the "Canvas" page. The following exception is thrown: org.eclipse.swt.SWTException: Graphic is disposed at org.eclipse.swt.SWT.error(SWT.java:3531) at org.eclipse.swt.SWT.error(SWT.java:3454) at org.eclipse.swt.SWT.error(SWT.java:3425) at org.eclipse.swt.graphics.GC.checkDisposed(GC.java:1487) at org.eclipse.swt.graphics.GC.setLineWidth(GC.java:423) at org.eclipse.rap.examples.pages.CanvasExamplePage$DrawingAreaPaintListener.paintControl(CanvasExamplePage.java:232) at org.eclipse.swt.events.PaintEvent.dispatchToObserver(PaintEvent.java:102) at org.eclipse.rwt.internal.events.Event.processEvent(Event.java:46) at org.eclipse.swt.events.TypedEvent.processEvent(TypedEvent.java:166) at org.eclipse.swt.events.TypedEvent.executeNext(TypedEvent.java:188) at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1134) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1124) at org.eclipse.rap.examples.internal.MainUi.createUI(MainUi.java:56) at org.eclipse.rap.examples.internal.Application.createUI(Application.java:19) at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createUI(EntryPointManager.java:90) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:172) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:280) at java.lang.Thread.run(Thread.java:722) at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.java:101)
Strange enough, two hours ago (when I opened this bug) I could reproduce these exceptions all the time.... but now I can't.
Fix together with bug 372960.