Failed Repository Index due to ArrayIndexOutOfBoundsException

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Out of disk space

The following appears in the atlassian-fisheye-<date>.log:

2013-04-02 13:16:13,490 ERROR [InitialPinger1 testrepo] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo testrepo due to class java.lang.ArrayIndexOutOfBoundsException - -1
java.lang.ArrayIndexOutOfBoundsException: -1
	at org.apache.lucene.index.TermInfosReader.seekEnum(TermInfosReader.java:172)
	at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:231)
	at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:179)
	at org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:57)
	at org.apache.lucene.index.DocumentsWriter.applyDeletes(DocumentsWriter.java:1046)
	at org.apache.lucene.index.DocumentsWriter.applyDeletes(DocumentsWriter.java:1004)
	at org.apache.lucene.index.IndexWriter.applyDeletes(IndexWriter.java:4566)

Cause

Due to out of disk space, Fisheye/Crucible couldn't reindex the repository.

Resolution

  1. Make sure that there is enough disk space

  2. Stop the repository
  3. Delete the corrupted index at FISHEYE_INST/var/cache/reponame
  4. Start the repository and perform full reindex
  5. If the repository still fail to reindex, delete FISHEYE_INST/cache/globalfe
  6. Reindex all the repositories in the server
Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.