»»

redis.clients.jedis errorsJedis

Top patterns

  1. Redis responded with an error code that is not processed by Jedis

    This exception can occur in different situations. For example.: Missing authentication parameter, etc.

  2. Redis responded an error code that is unhandled by Jedis

    This exception can occur in different situations. For example.: Redis timeout, etc.

  3. Too many redirections when connecting to Redis

    This exception can occur, when you are trying to connect to your redis cluster, but unfortunately it fails. This exception also can occur, when you are trying to create a cluster, but you are using localhost or 127.0.0.1 to setup cluster.

Error patternsClassesMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Redis responded with an error code that is not processed by Jedis

redis.clients.jedis.exceptions.JedisDataException
redis.clients.jedis.Protocol.processError
104Web pages
1Solution
JedisDataExceptionProtocol.processError104

Redis responded an error code that is unhandled by Jedis

redis.clients.jedis.exceptions.JedisConnectionException
redis.clients.jedis.Protocol.process
21Web pages
1Solution
JedisConnectionExceptionProtocol.process21

Too many redirections when connecting to Redis

redis.clients.jedis.exceptions.JedisClusterMaxRedirectionsException
1 frames hidden
redis.clients.jedis.JedisClusterCommand.runWithRetries
15Web pages
1Solution
JedisClusterMaxRedirectionsExceptionJedisClusterCommand.runWithRetries15

Tried to use the same Jedis object in multiple Threads

java.lang.ClassCastException
redis.clients.jedis.Connection.getIntegerReply
14Web pages
1Solution
ClassCastExceptionConnection.getIntegerReply14

Jedis client uses an invalid connection

java.lang.ClassCastException
redis.clients.jedis.Connection.getBinaryMultiBulkReply
13Web pages
1Solution
ClassCastExceptionConnection.getBinaryMultiBulkReply13

Cannot read Redis status code reply as a byte array

java.lang.ClassCastException
redis.clients.jedis.Connection.getStatusCodeReply
12Web pages
ClassCastExceptionConnection.getStatusCodeReply12

Jedis write buffer overloaded.

java.lang.ArrayIndexOutOfBoundsException
1 frames hidden
redis.clients.jedis.Protocol.sendCommand
8Web pages
1Solution
ArrayIndexOutOfBoundsExceptionProtocol.sendCommand8

Reading Redis response timed out

java.net.SocketTimeoutException
redis.clients.jedis.Protocol.process
8Web pages
SocketTimeoutExceptionProtocol.process8

Cannot read Redis response as a byte array

java.lang.ClassCastException
redis.clients.jedis.BuilderFactory$5.build
8Web pages
1Solution
ClassCastExceptionBuilderFactory$5.build8

Cannot get a Redis connection from the pool

redis.clients.jedis.exceptions.JedisConnectionException
2 frames hidden
redis.clients.jedis.JedisClusterCommand.runWithRetries
7Web pages
JedisConnectionExceptionJedisClusterCommand.runWithRetries7

The hash moved to a different Redis node

redis.clients.jedis.exceptions.JedisMovedDataException
2 frames hidden
redis.clients.jedis.Protocol.read
6Web pages
1Solution
JedisMovedDataExceptionProtocol.read6

Connection.sendCommand() has thrown a SocketTimeoutException

java.net.SocketTimeoutException
2 frames hidden
redis.clients.jedis.Connection.sendCommand
6Web pages
SocketTimeoutExceptionConnection.sendCommand6

Redis cluster is down

redis.clients.jedis.exceptions.JedisClusterException
1 frames hidden
redis.clients.jedis.Protocol.process
6Web pages
JedisClusterExceptionProtocol.process6

JedisClusterCommand.runWithRetries() has thrown a JedisNoReachableClusterNodeException

redis.clients.jedis.exceptions.JedisNoReachableClusterNodeException
2 frames hidden
redis.clients.jedis.JedisClusterCommand.runWithRetries
5Web pages
JedisNoReachableClusterNodeExceptionJedisClusterCommand.runWithRetries5

JedisSlotBasedConnectionHandler.getConnectionFromSlot() has thrown a JedisConnectionException

redis.clients.jedis.exceptions.JedisConnectionException
2 frames hidden
redis.clients.jedis.JedisSlotBasedConnectionHandler.getConnectionFromSlot
4Web pages
JedisConnectionExceptionJedisSlotBasedConnectionHandler.getConnectionFromSlot4

Using `multi()` in Pipeline wasn't supported in earlier Jedis version

java.lang.ClassCastException
3 frames hidden
redis.clients.jedis.Pipeline.syncAndReturnAll
4Web pages
ClassCastExceptionPipeline.syncAndReturnAll4

Connection.sendCommand() has thrown a SocketException

java.net.SocketException
2 frames hidden
redis.clients.jedis.Connection.sendCommand
3Web pages
SocketExceptionConnection.sendCommand3

Redis connection broken while sending a command

java.net.SocketException
redis.clients.jedis.Connection.flush
3Web pages
SocketExceptionConnection.flush3

Redis output stream is uninitialized

java.lang.NullPointerException
2 frames hidden
redis.clients.jedis.Connection.sendCommand
3Web pages
NullPointerExceptionConnection.sendCommand3

Jedis cannot connect to Redis

java.net.ConnectException
redis.clients.jedis.Connection.connect
3Web pages
ConnectExceptionConnection.connect3

Pong response is rejected by Jedis 2.7

redis.clients.jedis.exceptions.JedisException
redis.clients.jedis.JedisPubSub.process
2Web pages
1Solution
JedisExceptionJedisPubSub.process2

Redis client is uninitialized when finalizing pipeline execution

java.lang.NullPointerException
redis.clients.jedis.Pipeline.syncAndReturnAll
2Web pages
NullPointerExceptionPipeline.syncAndReturnAll2

Redis client is in Multi or Pipeline mode

redis.clients.jedis.exceptions.JedisDataException
redis.clients.jedis.BinaryJedis.checkIsInMultiOrPipeline
2Web pages
JedisDataExceptionBinaryJedis.checkIsInMultiOrPipeline2

Jedis.subscribe() has thrown a JedisConnectionException

redis.clients.jedis.exceptions.JedisConnectionException
3 frames hidden
redis.clients.jedis.Jedis.subscribe
2Web pages
JedisConnectionExceptionJedis.subscribe2

Response.get() has thrown a JedisDataException

redis.clients.jedis.exceptions.JedisDataException
redis.clients.jedis.Response.get
2Web pages
JedisDataExceptionResponse.get2

BinaryJedis.info() has thrown a JedisConnectionException

redis.clients.jedis.exceptions.JedisConnectionException
5 frames hidden
redis.clients.jedis.BinaryJedis.info
2Web pages
JedisConnectionExceptionBinaryJedis.info2

Jedis cannot process the response from Redis

redis.clients.jedis.JedisException
1 frames hidden
redis.clients.jedis.Protocol.read
2Web pages
JedisExceptionProtocol.read2

JedisSentinelPool.<init>() has thrown a JedisException

redis.clients.jedis.exceptions.JedisException
4 frames hidden
redis.clients.jedis.JedisSentinelPool.<init>
1Web pages
JedisExceptionJedisSentinelPool.<init>1

Jedis.set() has thrown a JedisConnectionException

redis.clients.jedis.exceptions.JedisConnectionException
5 frames hidden
redis.clients.jedis.Jedis.set
1Web pages
JedisConnectionExceptionJedis.set1

Cannot send command to Redis, it closed the connection

redis.clients.jedis.exceptions.JedisConnectionException
2 frames hidden
redis.clients.jedis.Connection.sendCommand
1Web pages
JedisConnectionExceptionConnection.sendCommand1

JedisPool.getResource() has thrown a JedisConnectionException

redis.clients.jedis.exceptions.JedisConnectionException
9 frames hidden
redis.clients.jedis.JedisPool.getResource
0Web pages
JedisConnectionExceptionJedisPool.getResource0
Nothing to list here.
Nothing to list here.
Nothing to list here.