IndexOutOfBoundsException When Trying to Display Annotated View of a File

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

症状

In CVS some files can be checked in incorrectly and will show up as binary. Once you have fixed this issue you may get the following error when trying to view the annoted view of the file:

2008-02-20 09:26:19,387 ERROR [btpool0-7] org.mortbay.log sun.reflect.NativeMethodAccessorImpl-invoke0 - /browse/**removed full path** java.lang.IndexOutOfBoundsException: toIndex = 236 at java.util.SubList.<init>(AbstractList.java:602) at java.util.RandomAccessSubList.<init>(AbstractList.java:758) at java.util.AbstractList.subList(AbstractList.java:468) at com.cenqua.fisheye.cvsrep.Annotator.applyHunksToSpans(Annotator.java:112)  ..... .....

原因

Fisheye is caching old information of the file, when it was treated as binary file in the repository.

ソリューション

You will need to reindex your repository.

更新日時: September 25, 2025

さらにヘルプが必要ですか?

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