Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ArrayList.add() has thrown an IndexOutOfBoundsException
    Java Runtime
    9
    13
    0
  2. ArrayList.throwIndexOutOfBoundsException() has thrown an IndexOutOfBoundsException
    Java Runtime
    603
    512
    17

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.IndexOutOfBoundsException: Invalid index 20, size is 12
    at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
    at java.util.ArrayList.add(ArrayList.java:147)
    at y2k.joyreactor.widget.PostListComponent$1.invoke(PostListComponent.kt:36)
    at y2k.joyreactor.widget.PostListComponent$1.invoke(PostListComponent.kt:17)
13 frames hidden

External results for this pattern (10)

  1. kitologvia GitHub4 months ago
    Invalid index 1, size is 0
    Show stack trace
  2. Priere Lawvia Stack Overflow4 months ago
    Invalid index 1, size is 0 W/System.err(1067):
    Show stack trace
  3. AlexZvia Stack Overflow4 months ago
    Invalid index 1, size is 0
    Show stack trace
  4. verygreenboivia GitHub4 months ago
    Invalid index 16, size is 15
    Show stack trace
  5. Invalid index 1, size is 0
    Show stack trace
  6. RubenGeesvia GitHub4 months ago
    Invalid index 1, size is 0
    Show stack trace
  7. 1fish2via GitHub5 months ago
    Invalid index 40, size is 28
    Show stack trace