ArrayIndexOutOfBoundsException
Platform Notice: Data Center Only - This article only applies to Atlassian apps 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
Problem
When accessing some files in a Crucible review, the following message is displayed in the user interface:
Server Error
URL: /json/cru/ALLYUSCR-2029/loadFrxAjax
A javax.servlet.ServletException was encountered
java.lang.ArrayIndexOutOfBoundsExceptionThe following appears in the fisheye-atlassian-YYYY-MM-DD.log:
WARN [btpool0-1319 ] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /json/cru/ALLYUSCR-2029/loadFrxAjax
javax.servlet.ServletException: java.lang.ArrayIndexOutOfBoundsException
...
Caused by: java.lang.ArrayIndexOutOfBoundsException
Cause
The Heap Size was not high enough to run /json/cru/ALLYUSCR-2029/loadFrxAjax script on the selected files.
Resolution
Increase the Java Heap Space for the FishEye/Crucible instance: JavaHeapSpace
Was this helpful?