Posted November 21, 2015 In the getChampionsFromKingdom method in the Players class, the select statement is called incorrectly. The ps.setLong(2, System.currentTimeMillis()) call is causing the issue, as the SQL query only has one parameter. Stack trace: WARNING: Array index out of bounds while polling an action Jonneh due to 1 java.lang.ArrayIndexOutOfBoundsException: 1 at org.sqlite.core.CorePreparedStatement.batch(CorePreparedStatement.java:110) at org.sqlite.jdbc3.JDBC3PreparedStatement.setLong(JDBC3PreparedStatement.java:298) at com.wurmonline.server.Players.getChampionsFromKingdom(Players.java:2901) at com.wurmonline.server.behaviours.Methods.sendRealDeathQuestion(Methods.java:329) at com.wurmonline.server.behaviours.HugeAltarBehaviour.action(HugeAltarBehaviour.java:357) at com.wurmonline.server.behaviours.HugeAltarBehaviour.action(HugeAltarBehaviour.java:423) at com.wurmonline.server.behaviours.Action.poll(Action.java:3226) at com.wurmonline.server.behaviours.ActionStack.poll(ActionStack.java:237) at com.wurmonline.server.players.Player.pollActions(Player.java:8901) at com.wurmonline.server.Players.pollPlayers(Players.java:4302) at com.wurmonline.server.Server.run(Server.java:1722) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Share this post Link to post Share on other sites