| Summary: | [Examples Demo] Exception when navigating through the browser history | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ivan Furnadjiev <ivan> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 372960 | ||
| Bug Blocks: | |||
|
Description
Ivan Furnadjiev
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. |