java.sql.SQLException

tip

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

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

  • JDBC:Connection Issue When Run program
    via Stack Overflow by hamel123
    ,
  • After End Of Result set error?
    via by Unknown author,
  • GitHub comment 598#140930847
    via GitHub by g0t4
    ,
  • Error using latest for geSuite
    via GitHub by Kainzo
    ,
    • 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.getMysqlPlayerPrefix(Permissions.java:283)[PowerPerms_v0.12-Beta.jar:?] at eu.taigacraft.powerperms.Permissions$2.run(Permissions.java:129)[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]

    Users with the same issue

    ivanszkypeter
    470 times, last one,
    linxiaolong
    1 times, last one,
    rocday
    1 times, last one,
    slash
    1 times, last one,
    zbalint
    4 times, last one,
    145 more bugmates