Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-13003

Moving portlet up reults in IndexOutOfBoundsException

    XMLWordPrintable

Details

    Description

      There was a problem reported by Steve when moving a portlet up on the dashboard (from the bottom position):

       java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
      	at java.util.ArrayList.RangeCheck(I)V(ArrayList.java:506)
      	at java.util.ArrayList.get(I)Ljava/lang/Object;(Optimized Method)
      

      Re-shuffling the portlets a bit (moving the one above to the bottom) fixed the problem. It's still unclear how JIRA got into this state however. We need to investigate the portlet move code to see if it's possible to end up with an invalid position index.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andreask@atlassian.com Andreas Knecht (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified