java.lang.ArrayIndexOutOfBoundsException: -1

Oracle Community | 807553 | 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

    mouse click event error in my program

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

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1

      at TicTacToeGUI.mouseClicked()
    2. Unknown
      TicTacToeGUI.mouseClicked
      1. TicTacToeGUI.mouseClicked(TicTacToeGUI.java:303)
      1 frame
    3. Java RT
      EventDispatchThread.run
      1. java.awt.Component.processMouseEvent(Component.java:5096)
      2. java.awt.Component.processEvent(Component.java:4890)
      3. java.awt.Container.processEvent(Container.java:1566)
      4. java.awt.Window.processEvent(Window.java:1074)
      5. java.awt.Component.dispatchEventImpl(Component.java:3598)
      6. java.awt.Container.dispatchEventImpl(Container.java:1623)
      7. java.awt.Window.dispatchEventImpl(Window.java:1585)
      8. java.awt.Component.dispatchEvent(Component.java:3439)
      9. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      10. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      14 frames