ArrayIndexOutOfBoundsException in the Subversion Plugin

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

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

 

 

 

 

 

 

 

 

Last modified on Mar 30, 2016

Was this helpful?

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