Dashboard Gadgets Intermittent Internal Server Error
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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
Loading the Dashboard results in random gadgets showing Internal Server Error.
- Reloading the page seems to fix the error, but loading the page again could mean a separate gadget running into errors.
The following appears in the atlassian-jira.log
:
- Note, this stacktrace shows the two dimensional gadget, but this message will vary depending on which gadget fails
2014-03-14 14:50:50,394 http-8080-5 ERROR admin 890x125x2 qpe8ce [ip address] /rest/gadget/1.0/twodimensionalfilterstats/generate [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service
java.lang.ArrayIndexOutOfBoundsException: -1
Cause
There had been a required Java update. Currently it's been verified that this issue occurs with Java version "1.6.0_71".
Resolution
- Upgrade the Java environment to the latest version that is still compatible with JIRA. See here for Supported versions: Supported Platforms