Eclipse抛出的负数组大小异常

时间:2012-08-29 13:38:11

标签: eclipse

最近我的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错误论坛中找到了一些负数组大小异常的引用,但似乎没有任何与此相关的内容。任何想法?

1 个答案:

答案 0 :(得分:0)

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