Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-3393

NegativeArraySizeException in DiskIndex.readHeaderInfo()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Aptana Studio 3.0.5
    • Component/s: None
    • Labels:
      None

      Description

      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?

      !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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                ingo Ingo Muschenetz
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code