Redis Error

Discussion in 'Spigot Plugin Development' started by Domboing, Jul 28, 2018.

  1. Code (Text):
    [12:24:37 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'sc' in plugin StaffUtilities v1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[exo.jar:git-PaperSpigot-ba75d9a]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) ~[exo.jar:git-PaperSpigot-ba75d9a]
            at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServer.java:766) ~[exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.PlayerConnection.handleCommand(PlayerConnection.java:1047) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:884) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.PacketPlayInChat.a(PacketPlayInChat.java:28) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.PacketPlayInChat.handle(PacketPlayInChat.java:65) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:189) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:794) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:309) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:642) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:548) [exo.jar:git-PaperSpigot-ba75d9a]
            at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [exo.jar:git-PaperSpigot-ba75d9a]
    Caused by: redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
            at redis.clients.jedis.JedisPool.returnResource(JedisPool.java:129) ~[?:?]
            at redis.clients.jedis.JedisPool.returnResource(JedisPool.java:12) ~[?:?]
            at redis.clients.jedis.Jedis.close(Jedis.java:3357) ~[?:?]
            at cc.clutch.staffutilities.database.pubsub.Publisher.write(Publisher.java:39) ~[?:?]
            at cc.clutch.staffutilities.payloads.Payload.send(Payload.java:33) ~[?:?]
            at cc.clutch.staffutilities.commands.StaffChatCommand.onCommand(StaffChatCommand.java:31) ~[?:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[exo.jar:git-PaperSpigot-ba75d9a]
            ... 13 more
    Caused by: redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool
            at redis.clients.util.Pool.returnResourceObject(Pool.java:69) ~[?:?]
            at redis.clients.jedis.JedisPool.returnResource(JedisPool.java:126) ~[?:?]
            at redis.clients.jedis.JedisPool.returnResource(JedisPool.java:12) ~[?:?]
            at redis.clients.jedis.Jedis.close(Jedis.java:3357) ~[?:?]
            at cc.clutch.staffutilities.database.pubsub.Publisher.write(Publisher.java:39) ~[?:?]
            at cc.clutch.staffutilities.payloads.Payload.send(Payload.java:33) ~[?:?]
            at cc.clutch.staffutilities.commands.StaffChatCommand.onCommand(StaffChatCommand.java:31) ~[?:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[exo.jar:git-PaperSpigot-ba75d9a]
            ... 13 more
    Caused by: java.lang.IllegalStateException: Object has already been returned to this pool or is invalid
            at org.apache.commons.pool2.impl.GenericObjectPool.returnObject(GenericObjectPool.java:551) ~[?:?]
            at redis.clients.util.Pool.returnResourceObject(Pool.java:67) ~[?:?]
            at redis.clients.jedis.JedisPool.returnResource(JedisPool.java:126) ~[?:?]
            at redis.clients.jedis.JedisPool.returnResource(JedisPool.java:12) ~[?:?]
            at redis.clients.jedis.Jedis.close(Jedis.java:3357) ~[?:?]
            at cc.clutch.staffutilities.database.pubsub.Publisher.write(Publisher.java:39) ~[?:?]
            at cc.clutch.staffutilities.payloads.Payload.send(Payload.java:33) ~[?:?]
            at cc.clutch.staffutilities.commands.StaffChatCommand.onCommand(StaffChatCommand.java:31) ~[?:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[exo.jar:git-PaperSpigot-ba75d9a]
            ... 13 more