java.lang.IndexOutOfBoundsException: Index: 3, Size: 3

tip

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • IndexOutOfBoundsException is thrown when viewing the Overview Planning Board under the following use case: - Assuming you have a Story Points custom field - Modify the Story Points field to apply to every issue type except SubTask (since we never want points on subtasks) - In GH Planning Board config, set the Story Points to be shown in the List view of the Version Board (Default issue type of Bug is shown) - Click "Apply to all lines" - Go to the Planning Board Overview where you have at least one SubTask and you get this error: 2008-12-08 13:55:52,628 TP-Processor16 ERROR [velocity] Method getExtraField threw exception for reference $action in template templates/greenhopper/jira/iss ue/list/issue-list.vm at [35,5] 2008-12-08 13:55:52,628 TP-Processor16 ERROR [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Vel ocity: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at com.pyxis.greenhopper.jira.configurations.layout.ListLayouts.getOverviewField(ListLayouts.java:93) at com.pyxis.greenhopper.jira.configurations.layout.ListLayouts.getExtraField(ListLayouts.java:75) - Go back to the GH Planning Board config - Select SubTask in the issue type drop down. - Notice that "None" is now set as the extra field for the list view on the Overview Board. It was previously "Versions" before the change above. It appears that when a field does not apply to an issue type it creates a shorter array and therefore this exception.
    via by Andres March,
  • IndexOutOfBoundsException is thrown when viewing the Overview Planning Board under the following use case: - Assuming you have a Story Points custom field - Modify the Story Points field to apply to every issue type except SubTask (since we never want points on subtasks) - In GH Planning Board config, set the Story Points to be shown in the List view of the Version Board (Default issue type of Bug is shown) - Click "Apply to all lines" - Go to the Planning Board Overview where you have at least one SubTask and you get this error: 2008-12-08 13:55:52,628 TP-Processor16 ERROR [velocity] Method getExtraField threw exception for reference $action in template templates/greenhopper/jira/iss ue/list/issue-list.vm at [35,5] 2008-12-08 13:55:52,628 TP-Processor16 ERROR [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Vel ocity: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at com.pyxis.greenhopper.jira.configurations.layout.ListLayouts.getOverviewField(ListLayouts.java:93) at com.pyxis.greenhopper.jira.configurations.layout.ListLayouts.getExtraField(ListLayouts.java:75) - Go back to the GH Planning Board config - Select SubTask in the issue type drop down. - Notice that "None" is now set as the extra field for the list view on the Overview Board. It was previously "Versions" before the change above. It appears that when a field does not apply to an issue type it creates a shorter array and therefore this exception.
    via by Andres March,
  • Returning Strings from Questions/Answers files
    via Stack Overflow by mickm
    ,
  • Hadoop Hive user mailing list
    via by Unknown author,
  • Attachments in Response error
    via GitHub by kdickerson
    ,
    • java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at com.pyxis.greenhopper.jira.configurations.layout.ListLayouts.getOverviewField(ListLayouts.java:93) at com.pyxis.greenhopper.jira.configurations.layout.ListLayouts.getExtraField(ListLayouts.java:75)

    Users with the same issue

    David
    David2 times, last one,
    eti22
    eti223 times, last one,
    harshg
    harshg4 times, last one,
    sriharshakiran
    sriharshakiran4 times, last one,
    Unknown visitor1 times, last one,
    224 more bugmates