1

最近我的 eclipse 副本不再存在,虽然我想不出我可能做了什么导致这种情况,但我一定做了一些事情,但基本上对于任何工作空间,我尝试在我的日志文件中打开以下显示:

eclipse.buildId=M20120208-0800
java.version=1.7.0_04
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

!ENTRY org.eclipse.ui 4 0 2012-08-29 09:30:43.361
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NegativeArraySizeException
    at org.eclipse.core.internal.registry.TableReader.readArray(TableReader.java:360)
    at org.eclipse.core.internal.registry.TableReader.basicLoadExtensionPoint(TableReader.java:351)
    at org.eclipse.core.internal.registry.TableReader.loadExtensionPoint(TableReader.java:339)
    at org.eclipse.core.internal.registry.TableReader.loadExtensionPointTree(TableReader.java:309)
    at org.eclipse.core.internal.registry.RegistryObjectManager.load(RegistryObjectManager.java:421)
    at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:270)
    at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:262)
    at org.eclipse.core.internal.registry.BaseExtensionPointHandle.getExtensionPoint(BaseExtensionPointHandle.java:106)
    at org.eclipse.core.internal.registry.BaseExtensionPointHandle.getExtensions(BaseExtensionPointHandle.java:32)
    at org.eclipse.ui.internal.activities.ws.TriggerPointManager.<init>(TriggerPointManager.java:87)
    at org.eclipse.ui.internal.activities.ws.WorkbenchActivitySupport.<init>(WorkbenchActivitySupport.java:80)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:1523)
    at org.eclipse.ui.internal.Workbench.access$36(Workbench.java:1486)
    at org.eclipse.ui.internal.Workbench$66.run(Workbench.java:2597)

我尝试查找此错误,并在 eclipse 错误论坛中发现了一些对负数组大小异常的引用,但似乎没有与此相关的内容。有什么想法吗?

4

1 回答 1

0

尝试运行eclipse -clean以清理您的配置区域。也许有些东西被破坏了。这可能会解决您的问题。

于 2012-08-29T23:37:45.103 回答