magic.exception.GameException

java.lang.IndexOutOfBoundsException: Index: 3, Size: 3

Samebug tips1

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.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4329

  • via GitHub by melvinzhang
    ,
  • via GitHub by ShawnieBoy
    ,
  • Stack trace

    • magic.exception.GameException: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at magic.ai.MCTSAI.growTree(MCTSAI.java:421) at magic.ai.MCTSAI.TreeUpdate(MCTSAI.java:240) at magic.ai.MCTSAI$1.run(MCTSAI.java:147) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IndexOutOfBoundsException: Index: 3, Size: 3 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at magic.ai.MCTSAI.growTree(MCTSAI.java:417) ... 5 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    DavidDavid
    2 times, last one
    eti22eti22
    3 times, last one
    sriharshakiransriharshakiran
    4 times, last one
    harshgharshg
    4 times, last one
    Unknown visitor
    Unknown visitorOnce,
    239 more bugmates