ArrayIndexOutOfBoundsException in the Subversion Plugin

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

  1. JIRA is throwing an ArrayIndexOutOfBoundsException error when visiting the "Subversion Commits" tab on the project's page.

The following appears in the atlassian-jira.log:

1 2 3 4 5 6 7 8 9 10 2012-02-27 09:37:44,256 TP-Processor10 ERROR jh19 577x37x1 admin 172.30.0.64 /browse/ZKF [webwork.util.ValueStack] query="/tabHtmlForJSON" {[id="null" type="5" values=""]} {[id="tabHtmlForJSON" type="8" values=""]} java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ... Caused by: java.lang.ArrayIndexOutOfBoundsException: 100 at com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexer.getLogEntriesByProject(RevisionIndexer.java:604) at com.atlassian.jira.plugin.ext.subversion.projecttabpanels.SubversionProjectTabPanel.getRecentCommits(SubversionProjectTabPanel.java:162) at com.atlassian.jira.plugin.ext.subversion.projecttabpanels.SubversionProjectTabPanel.getHtml(SubversionProjectTabPanel.java:111)

Cause

Subversion plugin cannot handle more than 100 commits, as the maximum revision is 100.

Resolution

  1. Upgrade the Subversion Plugin to version 0.10.9, 0.10.9.1, or 0.10.10

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.