java.lang.NegativeArraySizeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Found in a user's log file. I'm unable to replicate with the project as provided, but suggests that it's probably a corrupt index? {code} !ENTRY org.eclipse.core.resources 4 2 2011-08-26 13:21:48.779 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 java.lang.NegativeArraySizeException at com.aptana.internal.index.core.DiskIndex.readHeaderInfo(DiskIndex.java:1325) at com.aptana.internal.index.core.DiskIndex.initialize(DiskIndex.java:644) at com.aptana.index.core.Index.<init>(Index.java:315) at com.aptana.index.core.IndexManager.getIndex(IndexManager.java:75) at com.aptana.index.core.IndexRequestJob.getIndex(IndexRequestJob.java:335) at com.aptana.index.core.IndexFilesOfProjectJob.run(IndexFilesOfProjectJob.java:58) at com.aptana.core.build.UnifiedBuilder.incrementalBuild(UnifiedBuilder.java:190) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:140) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
    via by Ingo Muschenetz,
  • Found in a user's log file. I'm unable to replicate with the project as provided, but suggests that it's probably a corrupt index? {code} !ENTRY org.eclipse.core.resources 4 2 2011-08-26 13:21:48.779 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 0 java.lang.NegativeArraySizeException at com.aptana.internal.index.core.DiskIndex.readHeaderInfo(DiskIndex.java:1325) at com.aptana.internal.index.core.DiskIndex.initialize(DiskIndex.java:644) at com.aptana.index.core.Index.<init>(Index.java:315) at com.aptana.index.core.IndexManager.getIndex(IndexManager.java:75) at com.aptana.index.core.IndexRequestJob.getIndex(IndexRequestJob.java:335) at com.aptana.index.core.IndexFilesOfProjectJob.run(IndexFilesOfProjectJob.java:58) at com.aptana.core.build.UnifiedBuilder.incrementalBuild(UnifiedBuilder.java:190) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:140) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}
    via by Ingo Muschenetz,
    • java.lang.NegativeArraySizeException at com.aptana.internal.index.core.DiskIndex.readHeaderInfo(DiskIndex.java:1325) at com.aptana.internal.index.core.DiskIndex.initialize(DiskIndex.java:644) at com.aptana.index.core.Index.<init>(Index.java:315) at com.aptana.index.core.IndexManager.getIndex(IndexManager.java:75) at com.aptana.index.core.IndexRequestJob.getIndex(IndexRequestJob.java:335) at com.aptana.index.core.IndexFilesOfProjectJob.run(IndexFilesOfProjectJob.java:58) at com.aptana.core.build.UnifiedBuilder.incrementalBuild(UnifiedBuilder.java:190) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:140) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    No Bugmate found.