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

GitHub | itandetnik | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 654#176212367

    GitHub | 1 year ago | ShawnieBoy
    magic.exception.GameException: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
  2. 0

    IndexOutOfBoundsException in MCTSAI.growTree

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

    GitHub comment 815#234823134

    GitHub | 8 months ago | melvinzhang
    magic.exception.GameException: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.
  6. 0

    Subtracting one arrayList from another arrayList

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

  1. Indri Yunita 4 times, last 2 weeks ago
  2. filpgame 4 times, last 2 weeks ago
  3. tyson925 3 times, last 3 weeks ago
  4. justCodeit 1 times, last 4 weeks ago
  5. Pilleo 3 times, last 4 weeks ago
69 more registered users
26 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: 2, Size: 2

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(Unknown Source)
    2. java.util.ArrayList.get(Unknown Source)
    2 frames
  3. magic.ai
    MCTSAI$1.run
    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)
    3 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames