Failed Repository Index due to ArrayIndexOutOfBoundsException
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
Make sure that there is enough disk space
- Stop the repository
- Delete the corrupted index at
FISHEYE_INST/var/cache/reponame
- Start the repository and perform full reindex
- If the repository still fail to reindex, delete
FISHEYE_INST/cache/globalfe
- Reindex all the repositories in the server
Last modified on Jul 31, 2018
Powered by Confluence and Scroll Viewport.