Uploaded image for project: 'Dev - Nexus'
  1. Dev - Nexus
  2. NEXUS-811

IndexOutOfBounds index can not created

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.0.2, 1.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux Debian 64Bit,
      JRockit 1.6.03 - 64Bit, Xmx=8192m

      Description

      2008-09-16 22:34:48.606 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.index.IndexerManager:default: Publishing local index for repository inhouse
      2008-09-16 22:34:48.977 INFO [pxpool-1-thread-1:] - org.sonatype.nexus.feeds.FeedRecorder:default: Reindexing repository with ID=inhouse : Process started on Tue Sep 16 09:57:12 CEST 2008, finished on Tue Sep 16 22:34:48 CEST 2008 with error. Error message is: java.lang.IndexOutOfBoundsException Strack trace: java.lang.IndexOutOfBoundsException
      at java.util.zip.ZipOutputStream.write(ZipOutputStream.java:261)
      at org.sonatype.nexus.index.IndexUtils.writeFile(IndexUtils.java:261)
      at org.sonatype.nexus.index.IndexUtils.packIndexArchive(IndexUtils.java:218)
      at org.sonatype.nexus.index.packer.DefaultIndexPacker.writeIndexArchive(DefaultIndexPacker.java:105)
      at org.sonatype.nexus.index.packer.DefaultIndexPacker.packIndex(DefaultIndexPacker.java:66)
      at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:676)
      at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:425)
      at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:913)
      at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1301)
      at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:45)
      at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136)
      at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:312)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)

      java.lang.IndexOutOfBoundsException
      at java.util.zip.ZipOutputStream.write(ZipOutputStream.java:261)
      at org.sonatype.nexus.index.IndexUtils.writeFile(IndexUtils.java:261)
      at org.sonatype.nexus.index.IndexUtils.packIndexArchive(IndexUtils.java:218)
      at org.sonatype.nexus.index.packer.DefaultIndexPacker.writeIndexArchive(DefaultIndexPacker.java:105)
      at org.sonatype.nexus.index.packer.DefaultIndexPacker.packIndex(DefaultIndexPacker.java:66)
      at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:676)
      at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:425)
      at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:913)
      at org.sonatype.nexus.DefaultNexus.reindexRepository(DefaultNexus.java:1301)
      at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:45)
      at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:136)
      at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:312)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)

        Activity

        Hide
        koconnor Kristine O'Connor added a comment -

        I have not been able to recreate this on 1.1.0 or 1.0.2. If this occurs again, would you please provide detailed information on the setup of this repo? Thanks

        Show
        koconnor Kristine O'Connor added a comment - I have not been able to recreate this on 1.1.0 or 1.0.2. If this occurs again, would you please provide detailed information on the setup of this repo? Thanks
        Hide
        tspengler tspengler added a comment -

        it occurred only on our great repository (nearly 700GB of data)
        I think you do not have a repository in that size

        Show
        tspengler tspengler added a comment - it occurred only on our great repository (nearly 700GB of data) I think you do not have a repository in that size

          People

          • Assignee:
            koconnor Kristine O'Connor
            Reporter:
            deleted_user Deleted User
            Last Updated By:
            Rich Seddon
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: