java.sql.SQLException: Operation not allowed after ResultSet closed

Stack Overflow | Priv | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java/MySQL: Operation not allowed after ResultSet closed

    Stack Overflow | 6 months ago | Priv
    java.sql.SQLException: Operation not allowed after ResultSet closed

    Root Cause Analysis

    1. java.sql.SQLException

      Operation not allowed after ResultSet closed

      at com.mysql.jdbc.SQLError.createSQLException()
    2. MySQL jdbc
      ResultSetImpl.isBeforeFirst
      1. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:959)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3]
      2. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3]
      3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3]
      4. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:862)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3]
      5. com.mysql.jdbc.ResultSetImpl.checkClosed(ResultSetImpl.java:743)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3]
      6. com.mysql.jdbc.ResultSetImpl.isBeforeFirst(ResultSetImpl.java:6135)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3]
      6 frames
    3. eu.taigacraft.powerperms
      Permissions$2.run
      1. eu.taigacraft.powerperms.Permissions.getMysqlPlayerSuffix(Permissions.java:330)[PowerPerms_v0.12-Beta.jar:?]
      2. eu.taigacraft.powerperms.Permissions$2.run(Permissions.java:130)[PowerPerms_v0.12-Beta.jar:?]
      2 frames
    4. org.bukkit.craftbukkit
      CraftAsyncTask.run
      1. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3]
      2. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3]
      2 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_72]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_72]
      3. java.lang.Thread.run(Thread.java:745)[?:1.8.0_72]
      3 frames