- This topic has 3 replies, 2 voices, and was last updated 17 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
Joel AlvimParticipantHi,
I started getting some nasty errors with MyEclipse 5.1.0GA and Eclipse 3.2.1 (The infamous org.eclipse.swt.SWTError: Item not added) so I decided to download the latest myeclipse and eclipse to try and get rid of it. It didn’t work.
I downloaded a fresh copy of eclipse 3.2.2, and MyEclipse 5.1.1GA. I unzipped eclipse to a new folder, and then uninstalled previous versions of MyEclipse before installing the new 511GA. When i tried to load MyEclipse for the first time, I got the inlined error in the log file. Note that using eclipse -clean or eclipse -data didn’t help. I didn’t reuse any previous workspace by the way. I’m running on Windows Xp. I think I’ll go back to Eclipse 3.2.1 and MyEclipse 5.1.0GA and hope I don’t run in anymore SWTErrors because it’s really annoying specially when the boss comes around and you say that you’re still fixing problems with development tools, months after the project has started.
Anyway, the log:
!ENTRY org.eclipse.ui.workbench 4 0 2007-04-03 11:05:03.756
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:153)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:101)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:933)
at org.eclipse.swt.widgets.Widget.release(Widget.java:743)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:636)
at org.eclipse.swt.widgets.Widget.release(Widget.java:746)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:636)
at org.eclipse.swt.widgets.Widget.release(Widget.java:746)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:636)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:117)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:722)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1062)
at org.eclipse.swt.widgets.Widget.release(Widget.java:746)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:415)
at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:397)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:627)
at org.eclipse.swt.widgets.Display.release(Display.java:3016)
at org.eclipse.swt.graphics.Device.dispose(Device.java:262)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:111)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
!ENTRY org.eclipse.osgi 4 0 2007-04-03 11:05:03.819
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: Item not added
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.SWT.error(SWT.java:3268)
at org.eclipse.swt.widgets.Widget.error(Widget.java:435)
at org.eclipse.swt.widgets.Menu.createItem(Menu.java:484)
at org.eclipse.swt.widgets.MenuItem.<init>(MenuItem.java:129)
at org.eclipse.jface.action.Separator.fill(Separator.java:54)
at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:66)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:662)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:581)
at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:235)
at org.eclipse.jface.action.SubMenuManager.fill(SubMenuManager.java:153)
at org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:66)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java:662)
at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:762)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:2753)
at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:2831)
at org.eclipse.ui.internal.WorkbenchWindow$6.run(WorkbenchWindow.java:2636)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2597)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:658)
at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:811)
at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1453)
at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1451)
at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1415)
at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1437)
at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1413)
at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:708)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1101)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)Hope it can give some pointers in the right direction.
Riyad KallaMemberLet’s try the easiest path.
Step 1) Download our MyEclipse 5.1.1 All-In-One installer for Windows (~127mb)
Step 2) Run the installer, install to a brand new directory that doesn’t exist.
Step 3) Launch it, point at your existing workspace
Step 4) Celebrate and ask for a raise*NOTE: Step 4 is optional.
Joel AlvimParticipantThanks for the quick reply! I managed to solve the problem before in another way (very strange way though).
1. I uninstalled MyEclipse 511GA.
2. Tried to run eclipse 322 standalone… would crash
2. Rebooted (magic step) 😳
3. Tried to run eclipse 322 standalone… not crashing anymore.
4. Reinstalled MyEclipse 511GA
5. Followed first part of proposed step 4 8)
Riyad KallaMemberweird… well I’m glad it’s working now.
-
AuthorPosts