Tried to get a connection from a closed Jedis pool

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.BaseGenericObjectPool.assertOpen
Source
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject
Source
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject
Source
at redis.clients.util.Pool.getResource
Source
4 frames hidden

Typical Exception Messages

  1. Pool not open
  2. Pool not open**

Origin

Similar

Specific cases

We have seen this error pattern in the following webpages (3)

  1. bleszxyvia GitHub7 months ago
    Could not get a resource from the pool
  2. Alchemistvia Stack Overflow8 months ago
    Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
  3. tonyvia Stack Overflow1 year ago
    Could not get a resource from the pool