java.sql.SQLException

Operation not allowed after ResultSet closed

Samebug tips1

MySQL doesn't support some types of characters (such as emojis) with the utf8 encoding. You need to be on MySQL 5.5+ and force utf8mb4 (everywhere, client and server). You can do this sending the query "SET NAMES utf8mb4". Check this https://goo.gl/3E2qzg


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1665

  • via Unknown by Unknown author,
  • Stack trace

    • java.sql.SQLException: Operation not allowed after ResultSet closed at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:959)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:862)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3] at com.mysql.jdbc.ResultSetImpl.checkClosed(ResultSetImpl.java:743)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3] at com.mysql.jdbc.ResultSetImpl.isBeforeFirst(ResultSetImpl.java:6135)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3] at eu.taigacraft.powerperms.Permissions.getMysqlPlayerSuffix(Permissions.java:330)[PowerPerms_v0.12-Beta.jar:?] at eu.taigacraft.powerperms.Permissions$2.run(Permissions.java:130)[PowerPerms_v0.12-Beta.jar:?] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3] at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)[spigot-1.10.jar:git-Spigot-6016ac7-10c10b3] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_72] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_72] at java.lang.Thread.run(Thread.java:745)[?:1.8.0_72]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    ivanszkypeterivanszkypeter
    675 times, last one
    zbalintzbalint
    4 times, last one
    AxeloAxelo
    5 times, last one
    aidoanaidoan
    5 times, last one
    MattyMatty
    Once,
    148 more bugmates