java.lang.ArrayIndexOutOfBoundsException: -5

Oracle Community | 807595 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    What's wrong with my code? Help

    Oracle Community | 1 decade ago | 807595
    java.lang.ArrayIndexOutOfBoundsException: -5

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -5

      at Turtle.move()
    2. Unknown
      Turtle.actionPerformed
      1. Turtle.move(Turtle.java:126)
      2. Turtle.play(Turtle.java:80)
      3. Turtle.actionPerformed(Turtle.java:51)
      3 frames
    3. Java RT
      JTextField.postActionEvent
      1. javax.swing.JTextField.fireActionPerformed(JTextField.java:489)
      2. javax.swing.JTextField.postActionEvent(JTextField.java:670)
      2 frames