redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

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

Samebug tips

,
via GitHub by DongAaron

You are trying to retrieve stuff from the redis pool after destroyPool has been called.

Solutions on the web

via Stack Overflow by tony
, 9 months ago
Could not get a resource from the pool
via GitHub by veludurai106
, 1 year ago
Could not get a resource from the pool
via douban.com by Unknown author, 2 years ago
Could not get a resource from the pool
via zhizhihu.com by Unknown author, 2 years ago
via GitHub by tonylau08
, 7 months ago
Could not get a resource from the pool
via Google Groups by Hossein Kazemi, 2 years ago
redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool
at org.apache.commons.pool2.impl.BaseGenericObjectPool.assertOpen(BaseGenericObjectPool.java:672)
at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:412)
at redis.clients.util.Pool.getResource(Pool.java:49)
at com.mbg.redis.RedisUtils.get(RedisUtils.java:122)
at com.mbg.redis.RedisDemo.poolTest(RedisDemo.java:25)
at com.mbg.redis.RedisDemo.main(RedisDemo.java:35)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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