Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Eclipse properties view throws SWTError
Eclipse properties view throws SWTError [message #481941] Mon, 24 August 2009 18:57 Go to next message
Lena is currently offline LenaFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

I get the exception below when I change focus from the eclipse navigator
to a deeply nested control in an editor with the eclipse properties view
visible.

This exception only occurs on a laptop running 64-bit vista. The problem
does not exist on a desktop.

This problem can be reproduced using a simple editor that creates 14
nested Canvas's in createPartControl. The editor must also provide a
selection for the properties view. I believe the properties view is
trying to create a new toolbar item from an activate part event coming
from a deep call stack of nested windows (however on a desktop this works
with 40 nested canvases).

Any ideas why this is happening only on a laptop running 64-bit vista?


Unhandled event loop exception

org.eclipse.swt.SWTError: Item not added
at org.eclipse.swt.SWT.error(SWT.java:3910)
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.ToolBar.createItem(ToolBar.java:392)
at org.eclipse.swt.widgets.ToolItem.<init>(ToolItem.java:127)
at
org.eclipse.jface.action.ActionContributionItem.fill(ActionC ontributionItem.java:332)
at
org.eclipse.jface.action.SubContributionItem.fill(SubContrib utionItem.java:77)
at org.eclipse.jface.action.ToolBarManager.update(ToolBarManage r.java:353)
at org.eclipse.ui.internal.ViewPane.updateActionBars(ViewPane.j ava:447)
at
org.eclipse.ui.internal.ViewActionBars.updateActionBars(View ActionBars.java:59)
at org.eclipse.ui.part.PageBookView.showPageRec(PageBookView.ja va:995)
at org.eclipse.ui.part.PageBookView.partActivated(PageBookView. java:757)
at
org.eclipse.ui.views.properties.PropertySheet.partActivated( PropertySheet.java:304)
at org.eclipse.ui.part.PageBookView$4.partActivated(PageBookVie w.java:1011)
at
org.eclipse.ui.internal.PartListenerList2$1.run(PartListener List2.java:70)
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.PartListenerList2.fireEvent(PartList enerList2.java:55)
at
org.eclipse.ui.internal.PartListenerList2.firePartActivated( PartListenerList2.java:68)
at
org.eclipse.ui.internal.PartService.firePartActivated(PartSe rvice.java:192)
at org.eclipse.ui.internal.PartService.setActivePart(PartServic e.java:306)
at
org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePart Changed(WorkbenchPagePartList.java:57)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java :136)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:3531)
at
org.eclipse.ui.internal.WorkbenchPage.requestActivation(Work benchPage.java:3071)
at org.eclipse.ui.internal.PartPane.requestActivation(PartPane. java:279)
at org.eclipse.ui.internal.EditorPane.requestActivation(EditorP ane.java:98)
at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:2 37)
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.Shell.setActiveControl(Shell.java:14 04)
at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(Shell.java:22 68)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3989 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1578)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2010)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
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.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
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.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
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.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
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.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4602 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
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.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
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.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
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.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
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.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:80)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4036 )
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.PeekMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2974)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3468)
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
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
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:592)
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)
Re: Eclipse properties view throws SWTError [message #481982 is a reply to message #481941] Mon, 24 August 2009 23:48 Go to previous message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
On Mon, 24 Aug 2009 18:57:47 +0000, Lena wrote:
> I get the exception below when I change focus from the eclipse navigator
> to a deeply nested control in an editor with the eclipse properties view
> visible.
>
> This exception only occurs on a laptop running 64-bit vista. The
> problem does not exist on a desktop.

Hi Lena, please file a bug to Platform/UI with your stack trace and the
version of Eclipse you are running.
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI

Thank you.
Remy
Previous Topic:Showing Google map in the browser widget
Next Topic:Java file grows to 100 MB
Goto Forum:
  


Current Time: Sat Aug 24 07:24:18 GMT 2019

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

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

Back to the top