3 Replies Latest reply on Oct 20, 2010 10:42 AM by nimo stephan

    Eclipse org.eclipse.swt.SWTError: Item not added

    nimo stephan Master

      I am using the actual RFTools Version and the actual Eclipse (Galileo) and get sporadically failures within my gui which is really annoying:

       

      Sporadically, I cannot select any items of my windows-taskbar* when eclipse is running and there are other strange bugs when running eclipse, such as not viewing sub-menus.


      *(I really have no clue why eclipse has a relation to my taskbar)

       

      After making another update to the latest rf-plugins, I get this error which prevents me from opening eclipse.

       


      !ENTRY org.eclipse.osgi 4 0 2010-10-20 14:48:36.745
      !MESSAGE Application error
      !STACK 1
      org.eclipse.swt.SWTError: Item not added
          at org.eclipse.swt.SWT.error(SWT.java:4109)
          at org.eclipse.swt.SWT.error(SWT.java:3998)
          at org.eclipse.swt.SWT.error(SWT.java:3969)
          at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
          at org.eclipse.swt.widgets.Menu.createItem(Menu.java:516)
          at org.eclipse.swt.widgets.MenuItem.<init>(MenuItem.java:133)
          at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:269)
          at org.eclipse.jface.action.MenuManager.doItemFill(MenuManager.java:737)
          at org.eclipse.jface.action.MenuManager.update(MenuManager.java:818)
          at org.eclipse.jface.action.MenuManager.update(MenuManager.java:678)
          at org.eclipse.ui.internal.menus.WorkbenchMenuService.updateManagers(WorkbenchMenuService.java:338)
          at org.eclipse.ui.internal.menus.WorkbenchMenuService$4.propertyChange(WorkbenchMenuService.java:316)
          at org.eclipse.ui.internal.services.EvaluationAuthority$1.run(EvaluationAuthority.java:252)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.ui.internal.services.EvaluationAuthority.fireServiceChange(EvaluationAuthority.java:246)
          at org.eclipse.ui.internal.services.EvaluationAuthority.endSourceChange(EvaluationAuthority.java:197)
          at org.eclipse.ui.internal.services.EvaluationAuthority.sourceChanged(EvaluationAuthority.java:135)
          at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:311)
          at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
          at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
          at org.eclipse.ui.internal.contexts.ActiveContextSourceProvider.contextManagerChanged(ActiveContextSourceProvider.java:57)
          at org.eclipse.core.commands.contexts.ContextManager.fireContextManagerChanged(ContextManager.java:165)
          at org.eclipse.core.commands.contexts.ContextManager.setEventCaching(ContextManager.java:324)
          at org.eclipse.core.commands.contexts.ContextManager.deferUpdates(ContextManager.java:83)
          at org.eclipse.ui.internal.contexts.ContextAuthority.sourceChanged(ContextAuthority.java:673)
          at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:310)
          at org.eclipse.ui.internal.services.ExpressionAuthority.sourceChanged(ExpressionAuthority.java:290)
          at org.eclipse.ui.AbstractSourceProvider.fireSourceChanged(AbstractSourceProvider.java:99)
          at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:401)
          at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkActivePart(WorkbenchSourceProvider.java:300)
          at org.eclipse.ui.internal.services.WorkbenchSourceProvider.handleCheck(WorkbenchSourceProvider.java:286)
          at org.eclipse.ui.internal.services.WorkbenchSourceProvider.checkOtherSources(WorkbenchSourceProvider.java:858)
          at org.eclipse.ui.internal.services.WorkbenchSourceProvider$6.handleEvent(WorkbenchSourceProvider.java:842)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
          at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
          at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1635)
          at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2114)
          at org.eclipse.swt.widgets.Control.windowProc(Control.java:4157)
          at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
          at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1598)
          at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2038)
          at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
          at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method)
          at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:230)
          at org.eclipse.swt.widgets.Shell.open(Shell.java:1194)
          at org.eclipse.jface.window.Window.open(Window.java:797)
          at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:790)
          at org.eclipse.ui.internal.Workbench$66.runWithException(Workbench.java:3660)
          at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
          at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
          at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
          at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
          at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
          at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
          at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
          at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
          at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
          at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
          at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
          at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
          at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
          at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
          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(EclipseStarter.java:369)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
          at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
          at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
          at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

       

       

      Is this a bug from Eclipse or from RFTools. I cannot work with Eclipse anymore.