ArrayIndexOutOfBoundsException

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

Problem

When accessing some files in a Crucible review, the following message is displayed in the user interface:

1 2 3 4 5 Server Error   URL: /json/cru/ALLYUSCR-2029/loadFrxAjax A javax.servlet.ServletException was encountered java.lang.ArrayIndexOutOfBoundsException

The following appears in the fisheye-atlassian-YYYY-MM-DD.log:

1 2 3 4 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

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.