java.lang.IndexOutOfBoundsException: index -1 out of bounds.

pivot-user | Tomas Stenlund | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    CalendarButton throws ArrayIndexOutOfBounds after new years eve

    pivot-user | 5 years ago | Tomas Stenlund
    java.lang.IndexOutOfBoundsException: index -1 out of bounds.

    Root Cause Analysis

    1. java.lang.IndexOutOfBoundsException

      index -1 out of bounds.

      at org.apache.pivot.collections.ArrayList.verifyIndexBounds()
    2. org.apache.pivot
      CalendarButton.<init>
      1. org.apache.pivot.collections.ArrayList.verifyIndexBounds(ArrayList.java:577)
      2. org.apache.pivot.collections.ArrayList.get(ArrayList.java:346)
      3. org.apache.pivot.wtk.TablePane$Row.get(TablePane.java:263)
      4. org.apache.pivot.wtk.skin.terra.TerraCalendarSkin.updateSelection(TerraCalendarSkin.java:706)
      5. org.apache.pivot.wtk.skin.terra.TerraCalendarSkin.selectedDateChanged(TerraCalendarSkin.java:963)
      6. org.apache.pivot.wtk.Calendar$CalendarSelectionListenerList.selectedDateChanged(Calendar.java:90)
      7. org.apache.pivot.wtk.Calendar.setSelectedDate(Calendar.java:212)
      8. org.apache.pivot.wtk.skin.CalendarButtonSkin.selectedDateChanged(CalendarButtonSkin.java:353)
      9. org.apache.pivot.wtk.CalendarButton$CalendarButtonSelectionListenerList.selectedDateChanged(CalendarButton.java:75)
      10. org.apache.pivot.wtk.CalendarButton.setSelectedDate(CalendarButton.java:243)
      11. org.apache.pivot.wtk.CalendarButton.<init>(CalendarButton.java:155)
      11 frames
    3. cc.stenlund.xc
      CompetitionEditor.initialize
      1. cc.stenlund.xc.ctrl.competition.CompetitionEditor.initialize(CompetitionEditor.java:129)
      1 frame