java.lang.ArrayIndexOutOfBoundsException: -1

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    -1

    at solution.main()
  2. Unknown
    solution.main
    1. solution.main(insertion.java:24)
    1 frame