Issue #166 invalid
Former user created an issue

Got the following error. Using Spigot. Appears when plugin is reloaded or started up.

[22:30:06] [Craft Scheduler Thread - 30/ERROR]: null java.sql.SQLException: Parameter index out of range (3 > number of parameters, which is 2). at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) ~[spigot.jar:git-Spigot-1358] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) ~[spigot.jar:git-Spigot-1358] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) ~[spigot.jar:git-Spigot-1358] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) ~[spigot.jar:git-Spigot-1358] at com.mysql.jdbc.PreparedStatement.checkBounds(PreparedStatement.java:3709) ~[spigot.jar:git-Spigot-1358] at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3693) ~[spigot.jar:git-Spigot-1358] at com.mysql.jdbc.PreparedStatement.setString(PreparedStatement.java:4544) ~[spigot.jar:git-Spigot-1358] at org.apache.commons.dbcp.DelegatingPreparedStatement.setString(DelegatingPreparedStatement.java:132) ~[Stats.jar:?] at nl.lolmewn.stats.snapshot.SnapshotManager.runSnapshotCreator(SnapshotManager.java:91) [Stats.jar:?] at nl.lolmewn.stats.snapshot.SnapshotManager.access$000(SnapshotManager.java:18) [Stats.jar:?] at nl.lolmewn.stats.snapshot.SnapshotManager$1.run(SnapshotManager.java:36) [Stats.jar:?] at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:67) [spigot.jar:git-Spigot-1358] at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [spigot.jar:git-Spigot-1358] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_51] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_51] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_51] [22:30:07] [Craft Scheduler Thread - 44/WARN]: Exception in thread "Craft Scheduler Thread - 44" [22:30:07] [Craft Scheduler Thread - 44/WARN]: org.apache.commons.lang.UnhandledException: Plugin Stats v1.38-SNAPSHOT-148 generated an exception while executing task 20136 at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.NullPointerException at nl.lolmewn.stats.loader.FirstjoinLoader.load(FirstjoinLoader.java:22) at nl.lolmewn.stats.player.PlayerManager$1.run(PlayerManager.java:324) at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftTask.run(CraftTask.java:67) at org.bukkit.craftbukkit.v1_7_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more

Comments (2)

  1. Sybren Gjaltema repo owner

    Already resolved in latest dev-builds. Since you're already on 1.38, you can safely go to 2.0.0

  2. Log in to comment