java.sql.SQLException: Illegal operation on empty result set.

Discussion in 'Bukkit Help' started by xKarolusx, Dec 3, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    xKarolusx

    Mabey anyone know how to fix that error?
    I moved my db today from outside host server to my local machine.

    Code:
    2012-12-03 20:58:38 [INFO] pixeloz won the Survival Games on arena 1
    2012-12-03 20:58:38 [SEVERE] java.sql.SQLException: Illegal operation on empty result set.
    2012-12-03 20:58:38 [SEVERE]    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
    2012-12-03 20:58:38 [SEVERE]    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
    2012-12-03 20:58:38 [SEVERE]    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
    2012-12-03 20:58:38 [SEVERE]    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
    2012-12-03 20:58:38 [SEVERE]    at com.mysql.jdbc.ResultSetImpl.checkRowPos(ResultSetImpl.java:841)
    2012-12-03 20:58:38 [SEVERE]    at com.mysql.jdbc.ResultSetImpl.getInt(ResultSetImpl.java:2672)
    2012-12-03 20:58:38 [SEVERE]    at com.skitscape.survivalgames.stats.StatsManager.saveGame(StatsManager.java:145)
    2012-12-03 20:58:38 [SEVERE]    at com.skitscape.survivalgames.Game.playerWin(Game.java:411)
    2012-12-03 20:58:38 [SEVERE]    at com.skitscape.survivalgames.Game.killPlayer(Game.java:347)
    2012-12-03 20:58:38 [SEVERE]    at com.skitscape.survivalgames.Events.LogoutEvent.PlayerLoggout(LogoutEvent.java:21)
    2012-12-03 20:58:38 [SEVERE]    at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source)
    2012-12-03 20:58:38 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2012-12-03 20:58:38 [SEVERE]    at java.lang.reflect.Method.invoke(Unknown Source)
    2012-12-03 20:58:38 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
    2012-12-03 20:58:38 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-12-03 20:58:38 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    2012-12-03 20:58:38 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.ServerConfigurationManagerAbstract.disconnect(ServerConfigurationManagerAbstract.java:201)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:722)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:295)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.ServerConnection.b(SourceFile:39)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
    2012-12-03 20:58:38 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
    I know that is cuz of data sending after win in SG.
    But can i fix that or just an author have to do that?
     
  2. something is wrong with your database be sure to check their wiki or instilation guide idk mich bout dbs so yeah
     
  3. Offline

    xKarolusx

    Im realy newbie with databases & MySQL etc. on linux so that's why im asking for help.
    I was using always outside databases from another hosting where i had my www hosting.
    Dedicated server was only for game servers.

    So any suggestions?

    *bump*

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
  4. Offline

    jwnordquist

    Look up youtube videos on how to setup LAMP on linux, most of the tutorials also show how to install PHPmyadmin to properly set up databases with ease.
     
Thread Status:
Not open for further replies.

Share This Page