org.luaj.vm2.LuaError: LuaTimeOutSandbox.loader:35 org.luaj.vm2.LuaError: #404:154 vm error: java.lang.ArrayIndexOutOfBoundsException: 135427 stack traceback: #404:154: in function 'regionNotEmpty' #404:93: in function 'searchFromLeft' #404:86: in function 'expandLeft' #404:55: in function 'magicWand' #404:172: in function 'magicWandColumnRange' #404:182: in main chunk [Java]: in ? at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:520) at org.luaj.vm2.LuaClosure.onInvoke(LuaClosure.java:190) at org.luaj.vm2.LuaClosure.invoke(LuaClosure.java:183) 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.LuaClosure.execute(LuaClosure.java:385) at org.luaj.vm2.LuaClosure.call(LuaClosure.java:164) at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:373) at org.luaj.vm2.LuaClosure.call(LuaClosure.java:175) at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:378) at org.luaj.vm2.LuaClosure.call(LuaClosure.java:175) at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:378) 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: 135427 at prophecy.common.image.RGBImage.getInt(RGBImage.java:269) at net.luaos.tb.tb32.RGBImageLuaAPI$1.call(RGBImageLuaAPI.java:25) at org.luaj.vm2.lib.TwoArgFunction.invoke(TwoArgFunction.java:73) at org.luaj.vm2.LuaClosure.execute(LuaClosure.java:385) ... 16 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)