首页 新闻 会员 周边 捐助

shiro缓存整合reids出现异常

0
悬赏园豆:10 [待解决问题]

这个异常对项目似乎没有什么影响,但是控制台会报这个异常,怎么解决
redis.clients.jedis.exceptions.JedisException: Could not return the broken resource to the pool
at redis.clients.jedis.util.Pool.returnBrokenResourceObject(Pool.java:116)
at redis.clients.jedis.util.Pool.returnBrokenResource(Pool.java:98)
at redis.clients.jedis.JedisPool.returnResource(JedisPool.java:378)
at redis.clients.jedis.JedisPool.returnResource(JedisPool.java:15)
at redis.clients.jedis.Jedis.close(Jedis.java:3957)
at redis.clients.jedis.JedisFactory.destroyObject(JedisFactory.java:166)
at org.apache.commons.pool2.PooledObjectFactory.destroyObject(PooledObjectFactory.java:126)
at org.apache.commons.pool2.impl.GenericObjectPool.destroy(GenericObjectPool.java:958)
at org.apache.commons.pool2.impl.GenericObjectPool.evict(GenericObjectPool.java:797)
at org.apache.commons.pool2.impl.BaseGenericObjectPool$Evictor.run(BaseGenericObjectPool.java:1160)
at org.apache.commons.pool2.impl.EvictionTimer$WeakRunner.run(EvictionTimer.java:213)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset$$$capture(FutureTask.java:308)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: Invalidated object not currently part of this pool
at org.apache.commons.pool2.impl.GenericObjectPool.invalidateObject(GenericObjectPool.java:642)
at org.apache.commons.pool2.impl.GenericObjectPool.invalidateObject(GenericObjectPool.java:620)
at redis.clients.jedis.util.Pool.returnBrokenResourceObject(Pool.java:114)
... 18 common frames omitted

小埋的哥哥!的主页 小埋的哥哥! | 初学一级 | 园豆:110
提问于:2021-07-28 13:53
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册