minecrafter / RedisBungee

The leading player synchronization system for BungeeCord
https://www.spigotmc.org/resources/redisbungee.13494/
Eclipse Public License 1.0
157 stars 122 forks source link

JedisException: Could not return the resource to the pool #10

Closed elraro closed 9 years ago

elraro commented 9 years ago

23:47:22 [SEVERE] Task BungeeTask(sched=net.md_5.bungee.scheduler.BungeeScheduler@2ed7b66b, id=792051, owner=com.imaginarycode.minecraft.redisbungee.RedisBungee@2f109238, task=com.imaginarycode.minecraft.redisbungee.RedisBungeeListener$5@2681e430, delay=0, period=0, running=true) encountered an exception com.imaginarycode.minecraft.redisbungee.internal.jedis.exceptions.JedisException: Could not return the resource to the pool at com.imaginarycode.minecraft.redisbungee.internal.jedisutil.Pool.returnResourceObject(Pool.java:54) at com.imaginarycode.minecraft.redisbungee.internal.jedis.JedisPool.returnResource(JedisPool.java:98) at com.imaginarycode.minecraft.redisbungee.RedisBungee.getPlayers(RedisBungee.java:182) at com.imaginarycode.minecraft.redisbungee.RedisBungee.serversToPlayers(RedisBungee.java:114) at com.imaginarycode.minecraft.redisbungee.RedisBungee.getPlayersOnServer(RedisBungee.java:190) at com.imaginarycode.minecraft.redisbungee.RedisBungeeListener$5.run(RedisBungeeListener.java:158) at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:58) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: Returned object not currently part of this pool at com.imaginarycode.minecraft.redisbungee.internal.commonspool2.impl.GenericObjectPool.returnObject(GenericObjectPool.java:534) at com.imaginarycode.minecraft.redisbungee.internal.jedisutil.Pool.returnResourceObject(Pool.java:52) ... 9 more

minecrafter commented 9 years ago

Issue is vague, please provide more detail.

elraro commented 9 years ago

Well, you speak today with my friend Cazmon. We will test Redis on 127.0.0.1 but i think that wont going to solve the problem.