Failed Repository Index due to ArrayIndexOutOfBoundsException

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Out of disk space

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)

原因

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

ソリューション

  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
最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.