java.lang.NegativeArraySizeException

Appcelerator JIRA | Ingo Muschenetz | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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}

    Appcelerator JIRA | 6 years ago | Ingo Muschenetz
    java.lang.NegativeArraySizeException
  2. 0

    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}

    Appcelerator JIRA | 6 years ago | Ingo Muschenetz
    java.lang.NegativeArraySizeException

    Root Cause Analysis

    1. java.lang.NegativeArraySizeException

      No message provided

      at com.aptana.internal.index.core.DiskIndex.readHeaderInfo()
    2. com.aptana.internal
      DiskIndex.initialize
      1. com.aptana.internal.index.core.DiskIndex.readHeaderInfo(DiskIndex.java:1325)
      2. com.aptana.internal.index.core.DiskIndex.initialize(DiskIndex.java:644)
      2 frames
    3. com.aptana.index
      IndexFilesOfProjectJob.run
      1. com.aptana.index.core.Index.<init>(Index.java:315)
      2. com.aptana.index.core.IndexManager.getIndex(IndexManager.java:75)
      3. com.aptana.index.core.IndexRequestJob.getIndex(IndexRequestJob.java:335)
      4. com.aptana.index.core.IndexFilesOfProjectJob.run(IndexFilesOfProjectJob.java:58)
      4 frames
    4. com.aptana.core
      UnifiedBuilder.build
      1. com.aptana.core.build.UnifiedBuilder.incrementalBuild(UnifiedBuilder.java:190)
      2. com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:140)
      2 frames
    5. Core Resource Management
      BuildManager$2.run
      1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
      1 frame
    6. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    7. Core Resource Management
      BuildManager$1.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
      2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
      3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
      3 frames
    8. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    9. Core Resource Management
      AutoBuildJob.run
      1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
      2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:311)
      3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:343)
      4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)
      5. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:242)
      5 frames
    10. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame