eclipse启动时出错

时间:2011-09-25 09:35:56

标签: eclipse

我很绝望......不知道什么是错的。昨天它今天没有用。

以下是日志中的堆栈跟踪,它是在选择工作区之前生成的:

!SESSION 2011-09-25 11:31:39.687 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_27
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=sk_SK
Framework arguments:  -product org.eclipse.epp.package.jee.product - clean
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product - clean

!ENTRY org.eclipse.osgi 4 0 2011-09-25 11:31:42.718
!MESSAGE Startup error
!STACK 1
java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at org.eclipse.osgi.storagemanager.StorageManager.updateTable(StorageManager.java:511)
    at org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:693)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initFileManager(BaseStorage.java:213)
    at org.eclipse.osgi.internal.baseadaptor.BaseStorage.initialize(BaseStorage.java:147)
    at org.eclipse.osgi.baseadaptor.BaseAdaptor.initializeStorage(BaseAdaptor.java:121)
    at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:185)
    at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:157)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:286)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

1 个答案:

答案 0 :(得分:0)

这种情况非常罕见:bug 113596表明Windows存在某种问题(但不是确定原因)。
This thread建议:

  

在Eclipse安装目录下有一个名为...\configuration\.settings的文件夹   如果将该文件夹移动到某个临时位置,Eclipse会启动吗? (如果它开始,它将重建文件夹和至少一个prefs文件。)


考虑到这里使用的Eclipse似乎很老了:

eclipse.buildId=I20090611-1540

OP lyborko报告并不奇怪:

  

Nevetherless,我下载了最新的日食,效果很好......