Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Widget is disposed error on Windows 7
Widget is disposed error on Windows 7 [message #505676] Mon, 04 January 2010 12:44
Phill Perryman is currently offline Phill PerrymanFriend
Messages: 214
Registered: July 2009
Senior Member
This is a multipart message in MIME format.
--=_alternative 0045F60F802576A1_=
Content-Type: text/plain; charset="US-ASCII"

I have an outline linked to a page in an editor. A click on the outline
causes the pages body to contain a single composite with a section header
and some questions for the user. When a different entry in the outline is
selected the composite is disposed and a new one created. I have one
composite (QuestionComposite) which creates a section with a twistie and
contains a browser element.

When this composite is disposed it triggers a paint event which eventually
throws a widget disposed error. The code runs fine under XP but errors
under Windows 7. Both machines are fully workspace synched to the same cvs
store.

The .ConfigPage.changeSelection disposes of the old composite containing
the section twistie with broswer data under the twistie. This happens even
when the twistie is not opened.

Any idea how I can workaround this and do I need to raise a bug for it.

!ENTRY org.eclipse.ui.workbench 4 0 2010-01-04 12:30:21.179
!MESSAGE Widget is disposed
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.SWT.error(SWT.java:3770)
at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:336)
at org.eclipse.swt.widgets.Control.getSize(Control.java:1428)
at org.eclipse.ui.forms.widgets.Section.onPaint(Section.java:36 6)
at
org.eclipse.ui.forms.widgets.ExpandableComposite$1.paintCont rol(ExpandableComposite.java:546)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:217)
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:1012)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:14 25)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4001 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.VtblCall(Native Method)
at
org.eclipse.swt.internal.ole.win32.IOleInPlaceObject.InPlace Deactivate(IOleInPlaceObject.java:21)
at
org.eclipse.swt.ole.win32.OleClientSite.deactivateInPlaceCli ent(OleClientSite.java:552)
at
org.eclipse.swt.ole.win32.OleClientSite.onDispose(OleClientS ite.java:889)
at
org.eclipse.swt.ole.win32.OleClientSite.access$1(OleClientSi te.java:876)
at
org.eclipse.swt.ole.win32.OleClientSite$1.handleEvent(OleCli entSite.java:128)
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.Widget.release(Widget.java:804)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:1 74)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
at
com.mitel.mpt.ui.editors.QuestionComposite.dispose(QuestionC omposite.java:556)
at
com.mitel.mpt.ui.editors.ConfigPage.createComposite(ConfigPa ge.java:69)
at
com.mitel.mpt.ui.editors.ConfigPage.changeSelection(ConfigPa ge.java:129)
at
com.mitel.mpt.ui.editors.QuoteEditor.changeSelection(QuoteEd itor.java:684)
at
com.mitel.mpt.ui.editors.QuoteEditor.selectionChanged(QuoteE ditor.java:642)
at
org.eclipse.ui.internal.AbstractSelectionService.fireSelecti on(AbstractSelectionService.java:156)
at
org.eclipse.ui.internal.AbstractSelectionService$1.selection Changed(AbstractSelectionService.java:62)
at org.eclipse.ui.part.PageBookView$5.run(PageBookView.java:256 )
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at
org.eclipse.ui.part.PageBookView$SelectionManager.selectionC hanged(PageBookView.java:254)
at
org.eclipse.ui.part.PageBookView$SelectionProvider.selection Changed(PageBookView.java:320)
at
org.eclipse.ui.part.PageBookView.pageSelectionChanged(PageBo okView.java:897)
at
org.eclipse.ui.part.PageBookView.access$2(PageBookView.java: 892)
at
org.eclipse.ui.part.PageBookView$2.selectionChanged(PageBook View.java:164)
at
org.eclipse.ui.views.contentoutline.ContentOutlinePage$1.run (ContentOutlinePage.java:99)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.ui.views.contentoutline.ContentOutlinePage.fireS electionChanged(ContentOutlinePage.java:97)
at
org.eclipse.ui.views.contentoutline.ContentOutlinePage.selec tionChanged(ContentOutlinePage.java:157)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at
org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:160)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.java:2132)
at
org.eclipse.jface.viewers.StructuredViewer.handleSelect(Stru cturedViewer.java:1160)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:1190)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:228)
at
org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:222)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:389)
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.Display.runDeferredEvents(Display.ja va:3880)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at com.mitel.swb.Application.start(Application.java:35)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

!ENTRY org.eclipse.ui 4 0 2010-01-04 12:30:23.550
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.SWT.error(SWT.java:3770)
at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:336)
at org.eclipse.swt.widgets.Control.getSize(Control.java:1428)
at org.eclipse.ui.forms.widgets.Section.onPaint(Section.java:36 6)
at
org.eclipse.ui.forms.widgets.ExpandableComposite$1.paintCont rol(ExpandableComposite.java:546)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:217)
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:1012)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:14 25)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4001 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:24 10)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3471)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at com.mitel.swb.Application.start(Application.java:35)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
--=_alternative 0045F60F802576A1_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">I have an outline linked to a page in
an editor. A click on the outline causes the pages body to contain a single
composite with a section header and some questions for the user. When a
different entry in the outline is selected the composite is disposed and
a new one created. I have one composite (QuestionComposite) which creates
a section with a twistie and contains a browser element.</font>
<br>
<br><font size=2 face="sans-serif">When this composite is disposed it triggers
a paint event which eventually throws a widget disposed error. The code
runs fine under XP but errors under Windows 7. Both machines are fully
workspace synched to the same cvs store.</font>
<br>
<br><font size=2 face="sans-serif">The .ConfigPage.changeSelection disposes
of the old composite containing the section twistie with broswer data under
the twistie. This happens even when the twistie is not opened.</font>
<br>
<br><font size=2 face="sans-serif">Any idea how I can workaround this and
do I need to raise a bug for it.</font>
<br>
<br><font size=2 face="sans-serif">!ENTRY org.eclipse.ui.workbench 4 0
2010-01-04 12:30:21.179</font>
<br><font size=2 face="sans-serif">!MESSAGE Widget is disposed</font>
<br><font size=2 face="sans-serif">!STACK 0</font>
<br><font size=2 face="sans-serif">org.eclipse.swt.SWTException: Widget
is disposed</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.SWT.error(SWT.java:3884)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.SWT.error(SWT.java:3799)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.SWT.error(SWT.java:3770)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.error(Widget.java:463)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:336)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Control.getSize(Control.java:1428)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.forms.widgets.Section.onPaint(Section.java:36 6) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.forms.widgets.ExpandableComposite$1.paintCont rol(ExpandableComposite.java:546) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:217) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:14 25) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Control.windowProc(Control.java:4001 ) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 ) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.internal.win32.OS.VtblCall(Native Method)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.internal.ole.win32.IOleInPlaceObject.InPlace Deactivate(IOleInPlaceObject.java:21) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.ole.win32.OleClientSite.deactivateInPlaceCli ent(OleClientSite.java:552) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.ole.win32.OleClientSite.onDispose(OleClientS ite.java:889) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.ole.win32.OleClientSite.access$1(OleClientSi te.java:876) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.ole.win32.OleClientSite$1.handleEvent(OleCli entSite.java:128) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.release(Widget.java:804)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.release(Widget.java:807)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.release(Widget.java:807)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.release(Widget.java:807)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:1 74) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.release(Widget.java:807)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.release(Widget.java:807)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
com.mitel.mpt.ui.editors.QuestionComposite.dispose(QuestionC omposite.java:556) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
com.mitel.mpt.ui.editors.ConfigPage.createComposite(ConfigPa ge.java:69) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
com.mitel.mpt.ui.editors.ConfigPage.changeSelection(ConfigPa ge.java:129) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
com.mitel.mpt.ui.editors.QuoteEditor.changeSelection(QuoteEd itor.java:684) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
com.mitel.mpt.ui.editors.QuoteEditor.selectionChanged(QuoteE ditor.java:642) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.AbstractSelectionService.fireSelecti on(AbstractSelectionService.java:156) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.AbstractSelectionService$1.selection Changed(AbstractSelectionService.java:62) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.part.PageBookView$5.run(PageBookView.java:256 ) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.Platform.run(Platform.java:888)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.part.PageBookView$SelectionManager.selectionC hanged(PageBookView.java:254) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.part.PageBookView$SelectionProvider.selection Changed(PageBookView.java:320) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.part.PageBookView.pageSelectionChanged(PageBo okView.java:897) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.part.PageBookView.access$2(PageBookView.java: 892) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.part.PageBookView$2.selectionChanged(PageBook View.java:164) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.views.contentoutline.ContentOutlinePage$1.run (ContentOutlinePage.java:99) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.views.contentoutline.ContentOutlinePage.fireS electionChanged(ContentOutlinePage.java:97) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.views.contentoutline.ContentOutlinePage.selec tionChanged(ContentOutlinePage.java:157) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.Platform.run(Platform.java:888)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:160) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.java:2132) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.jface.viewers.StructuredViewer.handleSelect(Stru cturedViewer.java:1160) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer.java:1190) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:228) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:222) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:389) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3880) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
com.mitel.swb.Application.start(Application.java:35)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
java.lang.reflect.Method.invoke(Method.java:585)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.launcher.Main.run(Main.java:1311)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.launcher.Main.main(Main.java:1287)</font >
<br>
<br><font size=2 face="sans-serif">!ENTRY org.eclipse.ui 4 0 2010-01-04
12:30:23.550</font>
<br><font size=2 face="sans-serif">!MESSAGE Unhandled event loop exception</font>
<br><font size=2 face="sans-serif">!STACK 0</font>
<br><font size=2 face="sans-serif">org.eclipse.swt.SWTException: Widget
is disposed</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.SWT.error(SWT.java:3884)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.SWT.error(SWT.java:3799)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.SWT.error(SWT.java:3770)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.error(Widget.java:463)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:336)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Control.getSize(Control.java:1428)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.forms.widgets.Section.onPaint(Section.java:36 6) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.forms.widgets.ExpandableComposite$1.paintCont rol(ExpandableComposite.java:546) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:217) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:14 25) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Control.windowProc(Control.java:4001 ) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 ) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:24 10) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3471) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
com.mitel.swb.Application.start(Application.java:35)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
java.lang.reflect.Method.invoke(Method.java:585)</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559) </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.launcher.Main.run(Main.java:1311)</font >
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; at
org.eclipse.equinox.launcher.Main.main(Main.java:1287)</font >
--=_alternative 0045F60F802576A1_=--
Re: Widget is disposed error on Windows 7 [message #505731 is a reply to message #505676] Mon, 04 January 2010 12:16 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

Yes, please log a report with SWT (
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=SWT ),
and provide some means of reproducing the problem. Also be sure to mention
that it only happens as of Windows 7. The only workaround I can suggest
trying (may not work) is to first dispose each of the Composite's children
before disposing the Composite. Since WM_PAINT is coming for a Control that
is supposed to be disposed, perhaps it's actually coming from a contained
handle that is mapped to the SWT Control that is marked as disposed.

HTH,
Grant



<Phill_Perryman@Mitel.COM> wrote in message
news:hhsnth$qlt$1@build.eclipse.org...

I have an outline linked to a page in an editor. A click on the outline
causes the pages body to contain a single composite with a section header
and some questions for the user. When a different entry in the outline is
selected the composite is disposed and a new one created. I have one
composite (QuestionComposite) which creates a section with a twistie and
contains a browser element.

When this composite is disposed it triggers a paint event which eventually
throws a widget disposed error. The code runs fine under XP but errors under
Windows 7. Both machines are fully workspace synched to the same cvs store.

The .ConfigPage.changeSelection disposes of the old composite containing the
section twistie with broswer data under the twistie. This happens even when
the twistie is not opened.

Any idea how I can workaround this and do I need to raise a bug for it.

!ENTRY org.eclipse.ui.workbench 4 0 2010-01-04 12:30:21.179
!MESSAGE Widget is disposed
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.SWT.error(SWT.java:3770)
at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:336)
at org.eclipse.swt.widgets.Control.getSize(Control.java:1428)
at org.eclipse.ui.forms.widgets.Section.onPaint(Section.java:36 6)
at
org.eclipse.ui.forms.widgets.ExpandableComposite$1.paintCont rol(ExpandableCo
mposite.java:546)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:217)
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:1012)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:14 25)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4001 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.VtblCall(Native Method)
at
org.eclipse.swt.internal.ole.win32.IOleInPlaceObject.InPlace Deactivate(IOleI
nPlaceObject.java:21)
at
org.eclipse.swt.ole.win32.OleClientSite.deactivateInPlaceCli ent(OleClientSit
e.java:552)
at
org.eclipse.swt.ole.win32.OleClientSite.onDispose(OleClientS ite.java:889)
at
org.eclipse.swt.ole.win32.OleClientSite.access$1(OleClientSi te.java:876)
at
org.eclipse.swt.ole.win32.OleClientSite$1.handleEvent(OleCli entSite.java:128
)
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.Widget.release(Widget.java:804)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:1 74)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at
org.eclipse.swt.widgets.Composite.releaseChildren(Composite. java:756)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
at
com.mitel.mpt.ui.editors.QuestionComposite.dispose(QuestionC omposite.java:55
6)
at
com.mitel.mpt.ui.editors.ConfigPage.createComposite(ConfigPa ge.java:69)
at
com.mitel.mpt.ui.editors.ConfigPage.changeSelection(ConfigPa ge.java:129)
at
com.mitel.mpt.ui.editors.QuoteEditor.changeSelection(QuoteEd itor.java:684)
at
com.mitel.mpt.ui.editors.QuoteEditor.selectionChanged(QuoteE ditor.java:642)
at
org.eclipse.ui.internal.AbstractSelectionService.fireSelecti on(AbstractSelec
tionService.java:156)
at
org.eclipse.ui.internal.AbstractSelectionService$1.selection Changed(Abstract
SelectionService.java:62)
at org.eclipse.ui.part.PageBookView$5.run(PageBookView.java:256 )
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at
org.eclipse.ui.part.PageBookView$SelectionManager.selectionC hanged(PageBookV
iew.java:254)
at
org.eclipse.ui.part.PageBookView$SelectionProvider.selection Changed(PageBook
View.java:320)
at
org.eclipse.ui.part.PageBookView.pageSelectionChanged(PageBo okView.java:897)
at org.eclipse.ui.part.PageBookView.access$2(PageBookView.java: 892)
at
org.eclipse.ui.part.PageBookView$2.selectionChanged(PageBook View.java:164)
at
org.eclipse.ui.views.contentoutline.ContentOutlinePage$1.run (ContentOutlineP
age.java:99)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.ui.views.contentoutline.ContentOutlinePage.fireS electionChanged(
ContentOutlinePage.java:97)
at
org.eclipse.ui.views.contentoutline.ContentOutlinePage.selec tionChanged(Cont
entOutlinePage.java:157)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at
org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:160)
at
org.eclipse.jface.viewers.StructuredViewer.updateSelection(S tructuredViewer.
java:2132)
at
org.eclipse.jface.viewers.StructuredViewer.handleSelect(Stru cturedViewer.jav
a:1160)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected( StructuredViewer
..java:1190)
at
org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenS trategy.java:228
)
at
org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.ja va:222)
at
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:389)
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.Display.runDeferredEvents(Display.ja va:3880)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3473)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at com.mitel.swb.Application.start(Application.java:35)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:
194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(
EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAp
pLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

!ENTRY org.eclipse.ui 4 0 2010-01-04 12:30:23.550
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.SWT.error(SWT.java:3770)
at org.eclipse.swt.widgets.Widget.error(Widget.java:463)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:336)
at org.eclipse.swt.widgets.Control.getSize(Control.java:1428)
at org.eclipse.ui.forms.widgets.Section.onPaint(Section.java:36 6)
at
org.eclipse.ui.forms.widgets.ExpandableComposite$1.paintCont rol(ExpandableCo
mposite.java:546)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:217)
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:1012)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:14 25)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4001 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:24 10)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3471)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at com.mitel.swb.Application.start(Application.java:35)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:
194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(
EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAp
pLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Previous Topic:Button's Background on ExpandBar not transparent
Next Topic:BirdTerm SWT/JFace open source serial terminal released
Goto Forum:
  


Current Time: Wed Dec 04 16:43:48 GMT 2024

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

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

Back to the top