java.lang.ArrayIndexOutOfBoundsException: -1

GitHub | smc395 | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 18#253746864

    GitHub | 4 months ago | smc395
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    Why do I keep an exception message when ever I run my code on Eclipse?

    Stack Overflow | 1 year ago | ItsAllAndrew
    java.lang.ArrayIndexOutOfBoundsException: 1000

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1

      at Game.listAllPieceMoves()
    2. Unknown
      HW2.main
      1. Game.listAllPieceMoves(Game.java:208)
      2. Game.listAllMoves(Game.java:292)
      3. Game.bfsearch(Game.java:348)
      4. Game.bfs(Game.java:319)
      5. HW2.main(HW2.java:58)
      5 frames