java.lang.ArrayIndexOutOfBoundsException

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.

  • I have a daily scheduled task to reindex all repositories set to run => The status in the UI updates to broken, and the following is logged in the log file: jvm 1 | 2008-11-21 12:03:10,453 INFO [org.sonatype.nexus.feeds.FeedRecorder:d efault] - Reindexing all registered repositories : Process started on Fri Nov 21 12:03:00 MST 2008, finished on Fri Nov 21 12:03:10 MST 2008 with error. Error m essage is: java.lang.ArrayIndexOutOfBoundsException, 6 Strack trace: java.lang.A rrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow n Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So urce) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | jvm 1 | java.lang.ArrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow n Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So urce) jvm 1 | at java.lang.Thread.run(Unknown Source)
    via by Kristine O'Connor,
  • I have a daily scheduled task to reindex all repositories set to run => The status in the UI updates to broken, and the following is logged in the log file: jvm 1 | 2008-11-21 12:03:10,453 INFO [org.sonatype.nexus.feeds.FeedRecorder:d efault] - Reindexing all registered repositories : Process started on Fri Nov 21 12:03:00 MST 2008, finished on Fri Nov 21 12:03:10 MST 2008 with error. Error m essage is: java.lang.ArrayIndexOutOfBoundsException, 6 Strack trace: java.lang.A rrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow n Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So urce) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | jvm 1 | java.lang.ArrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) jvm 1 | at java.util.concurrent.FutureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.access$301(Unknown Source) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFut ureTask.run(Unknown Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow n Source) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So urce) jvm 1 | at java.lang.Thread.run(Unknown Source)
    via by Kristine O'Connor,
    • java.lang.ArrayIndexOutOfBoundsException: 6 jvm 1 | at org.sonatype.nexus.index.creator.MinimalArtifactInfoIndexCrea tor.updateArtifactInfo(MinimalArtifactInfoIndexCreator.java:314) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.const ructArtifactInfo(DefaultIndexingContext.java:646) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.addDo cument(DefaultIndexingContext.java:553) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:520) jvm 1 | at org.sonatype.nexus.index.context.DefaultIndexingContext.merge (DefaultIndexingContext.java:484) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishReposit oryGroupIndex(DefaultIndexerManager.java:879) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.publishAllInde x(DefaultIndexerManager.java:475) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepo sitories(DefaultIndexerManager.java:1001) jvm 1 | at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(Defaul tNexus.java:1381) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:5 1) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(Abstract NexusTask.java:147) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultSche duledTask.java:345) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,