java.lang.IllegalArgumentException

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.

  • Have seen two of these types of errors come in from APR using 2.3 or greater, never before that. Would like to identify the cause of these and if it indicates a real problem. {noformat} java.lang.IllegalArgumentException: docID must be >= 0 and < maxDoc=6954 (got docID=6954) at org.apache.lucene.index.IndexReader.document(IndexReader.java:1136) at org.apache.maven.index.updater.IndexDataWriter.writeDocuments(IndexDataWriter.java:173) at org.apache.maven.index.updater.IndexDataWriter.write(IndexDataWriter.java:93) at org.apache.maven.index.packer.DefaultIndexPacker.writeIndexData(DefaultIndexPacker.java:436) at org.apache.maven.index.packer.DefaultIndexPacker.packIndex(DefaultIndexPacker.java:137) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:1479) at org.sonatype.nexus.index.DefaultIndexerManager.access$1000(DefaultIndexerManager.java:186) at org.sonatype.nexus.index.DefaultIndexerManager$10.run(DefaultIndexerManager.java:1438) at org.sonatype.nexus.index.DefaultIndexerManager.shared(DefaultIndexerManager.java:2389) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:1432) at org.sonatype.nexus.index.DefaultIndexerManager.publishAllIndex(DefaultIndexerManager.java:1369) at org.sonatype.nexus.tasks.PublishIndexesTask.doRun(PublishIndexesTask.java:59) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:166) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) 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:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {noformat}
    via by Peter Lynch,
  • Program crash
    via docfetcher by *anonymous
    ,
  • System error
    via docfetcher by *anonymous
    ,
    • java.lang.IllegalArgumentException: docID must be >= 0 and < maxDoc=6954 (got docID=6954) at org.apache.lucene.index.IndexReader.document(IndexReader.java:1136) at org.apache.maven.index.updater.IndexDataWriter.writeDocuments(IndexDataWriter.java:173) at org.apache.maven.index.updater.IndexDataWriter.write(IndexDataWriter.java:93) at org.apache.maven.index.packer.DefaultIndexPacker.writeIndexData(DefaultIndexPacker.java:436) at org.apache.maven.index.packer.DefaultIndexPacker.packIndex(DefaultIndexPacker.java:137) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:1479) at org.sonatype.nexus.index.DefaultIndexerManager.access$1000(DefaultIndexerManager.java:186) at org.sonatype.nexus.index.DefaultIndexerManager$10.run(DefaultIndexerManager.java:1438) at org.sonatype.nexus.index.DefaultIndexerManager.shared(DefaultIndexerManager.java:2389) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:1432) at org.sonatype.nexus.index.DefaultIndexerManager.publishAllIndex(DefaultIndexerManager.java:1369) at org.sonatype.nexus.tasks.PublishIndexesTask.doRun(PublishIndexesTask.java:59) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:166) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) 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:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
    No Bugmate found.