Error on player join #24


  • Defect
  • Accepted
Open
Assigned to _ForgeUser7462391
  • _ForgeUser7460339 created this issue Oct 3, 2011

    What steps will reproduce the problem? 1. Install Authme 2.4, CB #1185 2. Enter game

    What is the expected output? What do you see instead? Expected server to force registration. Players can manipulate world freely without registration, no register prompt.

    What version of the product are you using? 2.4

    Do you have an error log of what happened?(Server console output)

    2011-10-03 21:06:52 [SEVERE] Could not pass event PLAYER_JOIN to AuthMe
    java.lang.AssertionError
    	at uk.org.whoami.authme.datasource.MiniConnectionPoolManager.disposeConnection(MiniConnectionPoolManager.java:251)
    	at uk.org.whoami.authme.datasource.MiniConnectionPoolManager.access$200(MiniConnectionPoolManager.java:36)
    	at uk.org.whoami.authme.datasource.MiniConnectionPoolManager$PoolConnectionEventListener.connectionErrorOccurred(MiniConnectionPoolManager.java:286)
    	at com.mysql.jdbc.jdbc2.optional.MysqlPooledConnection.callConnectionEventListeners(MysqlPooledConnection.java:250)
    	at com.mysql.jdbc.jdbc2.optional.MysqlPooledConnection.getConnection(MysqlPooledConnection.java:188)
    	at com.mysql.jdbc.jdbc2.optional.MysqlPooledConnection.getConnection(MysqlPooledConnection.java:158)
    	at uk.org.whoami.authme.datasource.MiniConnectionPoolManager.getConnection3(MiniConnectionPoolManager.java:156)
    	at uk.org.whoami.authme.datasource.MiniConnectionPoolManager.getConnection2(MiniConnectionPoolManager.java:140)
    	at uk.org.whoami.authme.datasource.MiniConnectionPoolManager.getValidConnection2(MiniConnectionPoolManager.java:203)
    	at uk.org.whoami.authme.datasource.MiniConnectionPoolManager.getValidConnection(MiniConnectionPoolManager.java:185)
    	at uk.org.whoami.authme.datasource.MySQLDataSource.isAuthAvailable(MySQLDataSource.java:116)
    	at uk.org.whoami.authme.datasource.CacheDataSource.isAuthAvailable(CacheDataSource.java:33)
    	at uk.org.whoami.authme.listener.AuthMePlayerListener.onPlayerJoin(AuthMePlayerListener.java:238)
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    	at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
    	at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:116)
    	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:75)
    	at net.minecraft.server.Packet1Login.a(SourceFile:59)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    

    Please provide any additional information below.(config.yml)

    DataSource:
        mySQLColumnName: username
        mySQLTablename: authme
        mySQLUsername: ***
        backend: mysql
        mySQLColumnLastLogin: lastlogin
        mySQLDatabase: minecraftfrix
        mySQLPort: '3306'
        mySQLColumnIp: ip
        mySQLHost: ***
        mySQLColumnPassword: password
        mySQLPassword: ***
        caching: true
    settings:
        sessions:
            enabled: true
            timeout: 2
        restrictions:
            allowChat: false
            kickNonRegistered: false
            teleportUnAuthedToSpawn: true
            maxNicknameLength: 20
            allowMovement: false
            minNicknameLength: 3
            timeout: 60
            allowedMovementRadius: 100
            allowedNicknameCharacters: '[a-zA-Z0-9_?]*'
        security:
            passwordHash: SHA256
        registration:
            enabled: true
            messageInterval: 15
            force: true
    
  • _ForgeUser7460339 added the tags New Defect Oct 3, 2011
  • _ForgeUser7462391 removed a tag New Oct 3, 2011
  • _ForgeUser7462391 added a tag Accepted Oct 3, 2011
  • _ForgeUser7462391 edited description Oct 3, 2011
  • _ForgeUser7462391 posted a comment Oct 5, 2011

    Ok there is an error with the SQL connection. I'll try to let it fail more gracefully in the next version.

  • _ForgeUser7522919 posted a comment Oct 22, 2011

    Is there any ETA for the next version? A fix for this would be pretty grand.


To post a comment, please login or register a new account.