Thursday, 1 September 2011

Browse » Home » » » » » Unable to Load a Particular JIRA Dashboard

Unable to Load a Particular JIRA Dashboard


Trying to load a dashboard page throws the following exception:
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
    at java.util.ArrayList.RangeCheck(
    at java.util.ArrayList.get(
    at com.atlassian.jira.portal.AbstractPortalPageImpl$ConfigInfo.putInColumn(
    at com.atlassian.jira.portal.AbstractPortalPageImpl$ConfigInfo.setPortletConfigurations(
    at com.atlassian.jira.portal.AbstractPortalPageImpl.setPortletConfigurations(
    at com.atlassian.jira.dashboard.JiraDashboardStateStoreManager$2.get(


Some of the gadgets in the dashboard are set in a column that the dashboard layout does not contain. For instance, a gadget is set in the second column of a single column layout.


Always back up your data before performing any modification to the database. If possible, try your modifications on a test server.
Update the database directly. You can identify the gadget and dashboard causing the problem with the following SQL:
select PC.ID as gadget_id,
       PP.ID as portlet_id
from portletconfiguration PC,
     portalpage PP
      column_number > length(layout) -1;
Info This example works with MySQL. Similar queries can be formed for other databases.


No comments:

Post a Comment

Note: only a member of this blog may post a comment.