JedisPool.returnResource() has thrown a JedisException

java.lang.IllegalStateException
Javadoc
Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation. @author Jonni Kanerva @since JDK1.1
at org.apache.commons.pool2.impl.GenericObjectPool.returnObject
(source)
at redis.clients.util.Pool.returnResourceObject
(source)
redis.clients.jedis.exceptions.JedisException
Javadoc
at redis.clients.util.Pool.returnResourceObject
(source)
at redis.clients.jedis.JedisPool.returnResource
(source)
redis.clients.jedis.exceptions.JedisException
Javadoc
at redis.clients.jedis.JedisPool.returnResource
(source)
4 frames hidden

Typical Exception Messages

  1. Could not return the resource to the pool
  2. Object has already been returned to this pool or is invalid

Origin

JedisPool.returnResource() has thrown a JedisException

java.lang.IllegalStateException
3 frames hidden
redis.clients.jedis.JedisPool.returnResource
3Web pages

Specific cases

External results for this pattern (1)

  1. Joel Evansvia Stack Overflow4 months ago
    Could not return the resource to the pool
    Show stack trace