IndexOutOfBoundsException when Displaying a Pie Chart Portlet

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Note that this applies to portlets, not gadgets.

The following error is thrown when clicking on the chart link in Issue Navigator:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.LinkedList.entry(LinkedList.java:368)
at java.util.LinkedList.get(LinkedList.java:313)
at com.atlassian.jira.ext.charting.charts.PortletSearchView.writeSearchResults(PortletSearchView.java:58)
at com.atlassian.jira.plugin.searchrequestview.SearchRequestURLHandler.handleRequest(SearchRequestURLHandler.java:238)

Cause

The 'Pie Chart' module is disabled in Charting & Reporting plugin

Workaround

Enabling the module will solve the problem. Do this from (Administration > System > Plugins.

Resolution

Portlets have been replaced by Gadgets in JIRA. Upgrade to JIRA 4 or later.

Last modified on Mar 30, 2016

Was this helpful?

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