Redis:java.util.NoSuchElementException:Unable to validate Object

Source: Internet
Author: User
Tags get ip redis cluster

Redis.clients.jedis.exceptions.JedisException:Could notGetA resource fromThe pool at Redis.clients.util.Pool.getResource (Pool.java:Wuyi) at Redis.clients.jedis.JedisPool.getResource (Jedispool.java:226) at Redis.clients.jedis.JedisClusterInfoCache.renewClusterSlots (Jedisclusterinfocache.java:103) at Redis.clients.jedis.JedisClusterConnectionHandler.renewSlotCache (Jedisclusterconnectionhandler.java:  the) at Redis.clients.jedis.JedisClusterCommand.runWithRetries (Jedisclustercommand.java:135) at Redis.clients.jedis.JedisClusterCommand.runWithRetries (Jedisclustercommand.java:141) at Redis.clients.jedis.JedisClusterCommand.runWithRetries (Jedisclustercommand.java:141) at Redis.clients.jedis.JedisClusterCommand.runWithRetries (Jedisclustercommand.java:141) at Redis.clients.jedis.JedisClusterCommand.runWithRetries (Jedisclustercommand.java:141) at Redis.clients.jedis.JedisClusterCommand.runBinary (Jedisclustercommand.java: -) at Redis.clients.jedis.BinaryJedisCluster.Get(Binaryjediscluster.java:98) at COM.SINOSIG.COMPONENTS.REDIS.SERVER.REDISCACHEMANAGER.GETOBJ (Rediscachemanager.java: -) at Com.sinosig.components.redis.server.RedisCacheManager.main (Rediscachemanager.java:Panax Notoginseng) caused By:java.util.NoSuchElementException:Unable to validateObjectAt org.apache.commons.pool2.impl.GenericObjectPool.borrowObject (Genericobjectpool.java:506) at Org.apache.commons.pool2.impl.GenericObjectPool.borrowObject (Genericobjectpool.java:363) at Redis.clients.util.Pool.getResource (Pool.java: the)    ...  A MoreNULL

The client can ping through

Discover problems

Local code get IP 127.0.0.1, Redis cluster not released externally, note when creating a cluster IP instead of 127.0.0.1 (instant you are a pseudo-cluster)

An inadvertent mistake, everybody, take a look.

Redis:java.util.NoSuchElementException:Unable to validate Object

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.