Community
Participate
Working Groups
Bugzilla – Bug 289673
Eclipse crashes < 1s after startup
Last modified: 2009-09-19 16:14:32 EDT
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Build Identifier: M20090211-1700 and the latest from eclipse.org/downloads This started happening on a desktop computer and a laptop in the lab. Not sure what the cause is. When I open eclipse from the icon or command line, the splash screen displays for an instant, then disappears. I went to eclipse.org/downloads about an hour ago, and downloaded whatever version was there, and overwrote my old session, but no change. I'm not sure what exact build the new version is, because I can't get any output (even with the -consoleLog flag). I'm seeing this same exception in a number of closed bugs, but they all seem to have different symptoms. .log file --------- !SESSION 2009-09-15 20:32:34.272 ----------------------------------------------- eclipse.buildId=M20090211-1700 java.version=1.6.0_16 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.ui.console 4 2 2009-09-16 19:05:11.817 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.console". !STACK 0 org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3777) at org.eclipse.swt.SWT.error(SWT.java:3695) at org.eclipse.swt.SWT.error(SWT.java:3666) at org.eclipse.swt.widgets.Display.error(Display.java:1180) at org.eclipse.swt.widgets.Display.asyncExec(Display.java:648) at org.eclipse.ui.internal.console.ConsoleDropDownAction.consolesRemoved(ConsoleDropDownAction.java:150) at org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.run(ConsoleManager.java:154) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.notify(ConsoleManager.java:174) at org.eclipse.ui.internal.console.ConsoleManager.fireUpdate(ConsoleManager.java:262) at org.eclipse.ui.internal.console.ConsoleManager.removeConsoles(ConsoleManager.java:244) at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.removeProcess(ProcessConsoleManager.java:98) at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.removeLaunch(ProcessConsoleManager.java:81) at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.shutdown(ProcessConsoleManager.java:198) at org.eclipse.debug.internal.ui.DebugUIPlugin.stop(DebugUIPlugin.java:388) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1050) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1046) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:457) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:531) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1104) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:655) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:312) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.SystemBundle.suspend(SystemBundle.java:236) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:678) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:576) at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.java:41) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:424) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200) 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.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) !ENTRY org.eclipse.ui.console 4 120 2009-09-16 19:05:11.817 !MESSAGE An exception occurred during console notification !STACK 0 org.eclipse.swt.SWTException: Device is disposed at org.eclipse.swt.SWT.error(SWT.java:3777) at org.eclipse.swt.SWT.error(SWT.java:3695) at org.eclipse.swt.SWT.error(SWT.java:3666) at org.eclipse.swt.widgets.Display.error(Display.java:1180) at org.eclipse.swt.widgets.Display.asyncExec(Display.java:648) at org.eclipse.ui.internal.console.ConsoleDropDownAction.consolesRemoved(ConsoleDropDownAction.java:150) at org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.run(ConsoleManager.java:154) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.ui.internal.console.ConsoleManager$ConsoleNotifier.notify(ConsoleManager.java:174) at org.eclipse.ui.internal.console.ConsoleManager.fireUpdate(ConsoleManager.java:262) at org.eclipse.ui.internal.console.ConsoleManager.removeConsoles(ConsoleManager.java:244) at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.removeProcess(ProcessConsoleManager.java:98) at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.removeLaunch(ProcessConsoleManager.java:81) at org.eclipse.debug.internal.ui.views.console.ProcessConsoleManager.shutdown(ProcessConsoleManager.java:198) at org.eclipse.debug.internal.ui.DebugUIPlugin.stop(DebugUIPlugin.java:388) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1050) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1046) at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:457) at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:531) at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1104) at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:655) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:312) at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:257) at org.eclipse.osgi.framework.internal.core.SystemBundle.suspend(SystemBundle.java:236) at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:678) at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:576) at org.eclipse.osgi.framework.internal.core.OSGi.close(OSGi.java:41) at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:424) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200) 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.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) Reproducible: Always Steps to Reproduce: Sorry I'm not sure what the exact sequence of events was. Maybe an improper shutdown of the computer while eclipse was running? 1. 2. 3.
(In reply to comment #0) > I went to eclipse.org/downloads about an hour ago, and downloaded whatever > version was there, I could see at least ten different packages there. Which one you downloaded? Does this happens on a fresh install and on a new workspace?
Sorry for not being specific. It was from this link: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/R/eclipse-java-galileo-win32.zip Not sure which mirror. I did a fresh install, if by that you mean 1. Download 2. Unzip 3. Copy "eclipse" folder to "C:\Program Files" (overwriting the old "C:\Program Files\eclipse" Not sure about the workspace, either, because before I didn't have a default workspace, and the program doesn't run long enough to change it.
(In reply to comment #2) > I did a fresh install, if by that you mean > 1. Download > 2. Unzip > 3. Copy "eclipse" folder to "C:\Program Files" (overwriting the old "C:\Program > Files\eclipse" Rename the C:\Program Files\eclipse folder to something else before Step 3 and try. There might be some old files left when overwriting (esp the configuration folder). > Not sure about the workspace, either, because before I didn't have a default > workspace, and the program doesn't run long enough to change it. http://help.eclipse.org/stable/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html Use -data to specify a new workspace.
Thanks, I'll try again tomorrow when I'm at the problematic computers.
Sorry, I think I marked the version wrong. Maybe I should try v 4.0? How can I do that? So, I went a little farther than your advice, and deleted C:\Program Files\eclipse and the .eclipse folder in my home directory. But, no change. I also added -data <loc>, but no change (it doesn't create any folders or files in the specified workspace). I did start to notice that -consoleLog was opening a separate console, and then that console disappeared with the splash screen. Is there any way to keep that console open? I think it may be displaying some useful information. Also, I'm starting to think that the log file I posted is irrelevant. No logs are being generated now (even w/o -consoleLog) and now that I look at it, the timestamps are from a few hours before this problem started (around the time this laptop's battery died - but again, a desktop has this same problem (haven't tried a completely fresh eclipse install there, though)
Nate, where is your JRE installed? Can you invoke 'java' from the command prompt? What is its output?
Thank you so much! Somehow, the JVM couldn't find java.lang.Object. Reinstalling java and my jdk fixed the problem on both machines.