IndexOutOfBoundsException When Trying to Display Annotated View of a File

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

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)
        .....
        .....

Cause

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

Resolution

You will need to reindex your repository.

Last modified on Jul 31, 2018

Was this helpful?

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