org.luaj.vm2.LuaError: LuaTimeOutSandbox.loader:35 org.luaj.vm2.LuaError: #452:10 vm error: java.lang.ArrayIndexOutOfBoundsException: 575 stack traceback: #452:10: in function 'findLeftBorder' #452:26: in function 'findGrid' #456:7: in main chunk [Java]: in ? at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:520) at org.luaj.vm2.LuaClosure.call(LuaClosure.java:145) at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:371) at org.luaj.vm2.LuaClosure.call(LuaClosure.java:145) at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:371) at org.luaj.vm2.LuaClosure.onInvoke(LuaClosure.java:190) at org.luaj.vm2.LuaClosure.invoke(LuaClosure.java:183) at org.luaj.vm2.LuaThread$State.run(LuaThread.java:192) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ArrayIndexOutOfBoundsException: 575 at prophecy.common.image.RGBImage.getInt(RGBImage.java:269) at net.luaos.tb.tb32.RGBImageLuaAPI$1.call(RGBImageLuaAPI.java:25) at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:377) ... 8 more stack traceback: LuaTimeOutSandbox.loader:35: in main chunk [Java]: in ? at org.luaj.vm2.lib.BaseLib$error.call(BaseLib.java:179) at org.luaj.vm2.lib.TwoArgFunction.invoke(TwoArgFunction.java:73) at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:385) at org.luaj.vm2.LuaClosure.onInvoke(LuaClosure.java:190) at org.luaj.vm2.LuaClosure.invoke(LuaClosure.java:183) at org.luaj.vm2.LuaValue.invoke(LuaValue.java:1743) at net.luaos.tb.common.Loader.invoke(Loader.java:65) at net.luaos.tb.common.LuaTimeOutSandbox.callLuaWithStats(LuaTimeOutSandbox.java:76) at net.luaos.tb.tb12.Sandbox.callFunctionWithStats(Sandbox.java:166) at net.luaos.tb.tb12.Sandbox.callLuaWithStats(Sandbox.java:156) at net.luaos.tb.tb12.Sandbox.runLuaWithStats(Sandbox.java:140) at net.luaos.tb.tb32.IRLuaScriptRunner.run_returnWithStats(IRLuaScriptRunner.java:33) at net.luaos.tb.tb32.IRPitcher.runScript(IRPitcher.java:151) at net.luaos.tb.tb32.IRPitcher.pitchPair(IRPitcher.java:135) at net.luaos.tb.tb32.IRPitcher.recalcs(IRPitcher.java:252) at net.luaos.tb.tb32.IRPitcher.main(IRPitcher.java:40) at irpitcher.main(irpitcher.java:8)