java.sql.SQLException: Before start of result set

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.

  • SQL | Bukkit Forums
    via by Unknown author,
  • MySQL connection in Java problem
    via by Unknown author,
  • Before start of result set
    via Stack Overflow by BalaYesu Ch.
    ,
  • Exception in MySQL
    via Stack Overflow by Shahzaib
    ,
  • extracting data from db with jsp page
    via Stack Overflow by user3871938
    ,
    • java.sql.SQLException: Before start of result set at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927) at com.mysql.jdbc.ResultSetImpl.checkRowPos(ResultSetImpl.java:841) at com.mysql.jdbc.ResultSetImpl.getStringInternal(ResultSetImpl.java:5656) at com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5576) at me.areoace.SQL.MySQL.getMembers(MySQL.java:93) at me.areoace.Clans.Listeners.interactListener.playerJoin(interactListener.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:298) at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:157) at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:144) at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54) at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814) at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    ivanszkypeter
    ivanszkypeter4 times, last one,
    Unknown visitor1 times, last one,
    jstrayer
    jstrayer4 times, last one,
    Unknown visitor1 times, last one,
    145 more bugmates