[Solved] ArrayIndexOutOfBoundsException but I can’t see where it goes out of bounds


This code works, I just ran it with a loop of 1000000. The easiest solution is probably to just create a new project and copy the code into that.

solved ArrayIndexOutOfBoundsException but I can’t see where it goes out of bounds