ArrayIndexOutOfBoundsException reported when viewing reviews

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. The following error is reported when attempting to view a review:

    1 2 3 4 5 6 7 8 9 10 11 12 13 14 2009-05-07 09:24:00,898 ERROR [btpool0-6] org.mortbay.log sun.reflect.NativeMethodAccessorImpl-invoke0 - /cru/ java.lang.ArrayIndexOutOfBoundsException: -56507281 at java.util.regex.Pattern$BitClass.isSatisfiedBy(Pattern.java:2927) at java.util.regex.Pattern$6.isSatisfiedBy(Pattern.java:4763) at java.util.regex.Pattern$CharProperty.match(Pattern.java:3345) at java.util.regex.Pattern$Curly.match(Pattern.java:3737) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4168) at java.util.regex.Pattern$Slice.match(Pattern.java:3482) at java.util.regex.Pattern$Ques.match(Pattern.java:3691) at java.util.regex.Pattern$Begin.match(Pattern.java:3120) at java.util.regex.Matcher.match(Matcher.java:1127) at java.util.regex.Matcher.matches(Matcher.java:502) at com.cenqua.fisheye.web.filters.RewriteRule.applyRule(RewriteRule.java:26)
  2. You are starting your server with the -XX:+AggressiveOpts java parameter.

    To check if you are using this parameter: Go to Administration > Sys Info/Support > System Info > JVM Input Arguments, and check if you have -XX:+AggressiveOpts in the list.

Cause

The issue is caused due to a JAVA bug.

Resolution

Try upgrading to the latest JAVA release and see if the problem occurs.

Alternatively, remove the -XX:+AggressiveOpts parameter from your JVM input arguments.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.