redis.clients.jedis.exceptions.JedisException: Could not return the resource to the pool at `redis.clients.util.Pool.returnBrokenResourceObject(`

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by anandsaha87
, 10 months ago
Could not return the resource to the pool at `redis.clients.util.Pool.returnBrokenResourceObject(`
java.lang.IllegalStateException: Invalidated object not currently part of this pool
at redis.clients.util.Pool.returnBrokenResourceObject(
at redis.clients.jedis.JedisPool.returnBrokenResource(
at redis.clients.jedis.JedisPool.returnBrokenResource(
at redis.clients.jedis.Jedis.close(
at redis.clients.jedis.JedisClusterCommand.releaseConnection(
at redis.clients.jedis.JedisClusterCommand.runWithRetries(
at redis.clients.jedis.JedisCluster.pttl(
at com.platform.utils.redis.RedisUtils.pttl(

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.