magic.exception.GameException: java.lang.IndexOutOfBoundsException: Index: 3, Size: 2

GitHub | melvinzhang | 7 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

    inconsistent MCTS game tree reuse

    GitHub | 7 months ago | melvinzhang
    magic.exception.GameException: java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
  2. 0

    I need help about java.lang.IndexOutOfBoundsException - ArrayList

    Stack Overflow | 2 years ago | dat_digital
    java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
  3. 0

    IndexOutOfBoundsException when targeting enemy outside of array size

    GitHub | 2 years ago | Vikare
    java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IndexOutOfBoundsException and quicksort algorithm

    Stack Overflow | 3 years ago | Liondancer
    java.lang.IndexOutOfBoundsException: Index: 3, Size: 2
  6. 0

    Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 3, Size: 2

    Stack Overflow | 2 years ago
    java.lang.IndexOutOfBoundsException: Index: 3, Size: 2

  1. filpgame 1 times, last 1 week ago
  2. poroszd 2 times, last 1 week ago
  3. Donsy 4 times, last 1 week ago
  4. Adrien 2 times, last 2 weeks ago
  5. Indri Yunita 4 times, last 3 weeks ago
66 more registered users
29 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IndexOutOfBoundsException

    Index: 3, Size: 2

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(ArrayList.java:653)
    2. java.util.ArrayList.get(ArrayList.java:429)
    2 frames
  3. magic.ai
    MCTSAI.findNextEventChoiceResults
    1. magic.ai.MCTSAI.growTree(MCTSAI.java:417)
    2. magic.ai.MCTSAI.TreeUpdate(MCTSAI.java:240)
    3. magic.ai.MCTSAI$1.run(MCTSAI.java:147)
    4. magic.ai.MCTSAI.findNextEventChoiceResults(MCTSAI.java:151)
    4 frames
  4. magic.headless
    HeadlessGameController.runGame
    1. magic.headless.HeadlessGameController.getAIChoiceResults(HeadlessGameController.java:50)
    2. magic.headless.HeadlessGameController.runGame(HeadlessGameController.java:33)
    2 frames
  5. magic
    DeckStrCal.main
    1. magic.DeckStrCal.runDuel(DeckStrCal.java:202)
    2. magic.DeckStrCal.main(DeckStrCal.java:175)
    2 frames