Jedis errors

Jedis is a blazingly small and sane Redis java client

https://github.com/xetorthio/jedis
Solution coverage:
Summary coverage:

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. Read responded with an error code that is not handled by Jedis
    No solution
  3. Unable to process Redis error response
    No solution

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
98Web pages
1Solution
JedisDataExceptionProtocol.processError98

Read responded with an error code that is not handled by Jedis

redis.clients.jedis.exceptions.JedisDataException
2 frames hidden
redis.clients.jedis.Protocol.read
97Web pages
JedisDataExceptionProtocol.read97

Unable to process Redis error response

redis.clients.jedis.exceptions.JedisDataException
1 frames hidden
redis.clients.jedis.Protocol.process
97Web pages
JedisDataExceptionProtocol.process97

End of stream while reading Redis response

redis.clients.jedis.exceptions.JedisConnectionException
redis.clients.util.RedisInputStream.ensureFill
33Web pages
1Solution
JedisConnectionExceptionRedisInputStream.ensureFill33

Unable to connect Redis

java.net.ConnectException
6 frames hidden
redis.clients.jedis.Connection.connect
30Web pages
ConnectExceptionConnection.connect30

Redis connection cannot be opened

java.net.ConnectException
8 frames hidden
redis.clients.jedis.BinaryClient.connect
25Web pages
JedisConnectionExceptionBinaryClient.connect25

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

Jedis cannot connect to Redis on a socket

java.net.ConnectException
9 frames hidden
redis.clients.jedis.BinaryJedis.connect
20Web pages
JedisConnectionExceptionBinaryJedis.connect20

Redis connection cannot be opened on a dual (IPV4/IPV6) socket

java.net.ConnectException
8 frames hidden
redis.clients.jedis.Connection.connect
20Web pages
ConnectExceptionConnection.connect20

Jedis got an unhandled error code from Redis

redis.clients.jedis.exceptions.JedisConnectionException
1 frames hidden
redis.clients.jedis.Protocol.read
19Web pages
JedisConnectionExceptionProtocol.read19

Jedis pool cannot give Jedis client.

java.net.ConnectException
14 frames hidden
redis.clients.util.Pool.getResource
19Web pages
JedisConnectionExceptionPool.getResource19

Jedis cannot get a connection from the pool

java.net.ConnectException
10 frames hidden
redis.clients.jedis.BinaryClient.connect
19Web pages
JedisConnectionExceptionBinaryClient.connect19

Jedis pool cannot provide Jedis client

java.net.ConnectException
17 frames hidden
redis.clients.util.Pool.getResource
18Web pages
JedisConnectionExceptionPool.getResource18

Cannot get a resource from Jedis pool

java.net.ConnectException
16 frames hidden
redis.clients.util.Pool.getResource
18Web pages
JedisConnectionExceptionPool.getResource18

Jedis pool cannot provide Jedis client.

java.net.ConnectException
15 frames hidden
redis.clients.util.Pool.getResource
18Web pages
JedisConnectionExceptionPool.getResource18

Jedis pool was unable to create a new Redis connection since Redis is unavailable

java.net.ConnectException
18 frames hidden
redis.clients.jedis.JedisPool.getResource
17Web pages
JedisConnectionExceptionJedisPool.getResource17

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

Jedis cannot access Redis.

java.net.SocketException
3 frames hidden
redis.clients.util.RedisOutputStream.flushBuffer
15Web pages
SocketExceptionRedisOutputStream.flushBuffer15

Redis closed the connection and Jedis got an empty response

redis.clients.jedis.exceptions.JedisConnectionException
redis.clients.util.RedisInputStream.readLine
14Web pages
JedisConnectionExceptionRedisInputStream.readLine14

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

Redis connection timed out

java.net.SocketTimeoutException
8 frames hidden
redis.clients.jedis.Connection.connect
13Web pages
SocketTimeoutExceptionConnection.connect13

Timeout while getting a Redis connection from the pool.

java.util.NoSuchElementException
2 frames hidden
redis.clients.util.Pool.getResource
13Web pages
NoSuchElementExceptionPool.getResource13

Redis aborted the connection

java.net.SocketException
4 frames hidden
redis.clients.util.RedisOutputStream.flush
13Web pages
SocketExceptionRedisOutputStream.flush13

Cannot read Redis status code reply as a byte array

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

Jedis cannot access Redis.

java.net.SocketTimeoutException
5 frames hidden
redis.clients.util.RedisInputStream.ensureFill
11Web pages
SocketTimeoutExceptionRedisInputStream.ensureFill11

Redis connection timed out on a dual (IPV4/IPV6) socket

java.net.SocketTimeoutException
11 frames hidden
redis.clients.jedis.BinaryJedis.connect
11Web pages
JedisConnectionExceptionBinaryJedis.connect11

Binary Jedis connection timed out

java.net.SocketTimeoutException
10 frames hidden
redis.clients.jedis.BinaryClient.connect
11Web pages
JedisConnectionExceptionBinaryClient.connect11

This exception occurs, when the runWithRetries methods attempt variable is less than 1.

redis.clients.jedis.exceptions.JedisClusterMaxRedirectionsException
6 frames hidden
redis.clients.jedis.JedisClusterCommand.run
9Web pages
1Solution
JedisClusterMaxRedirectionsExceptionJedisClusterCommand.run9

This error occurs when the build method cannot cast the result to byte[].

java.lang.ClassCastException
1 frames hidden
redis.clients.jedis.BuilderFactory$5.build
9Web pages
ClassCastExceptionBuilderFactory$5.build9

Cannot read Redis response as a byte array

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

Reading Redis response timed out

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

Jedis write buffer overloaded.

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

Jedis cannot read from Redis

java.net.SocketTimeoutException
5 frames hidden
redis.clients.util.RedisInputStream.readByte
8Web pages
SocketTimeoutExceptionRedisInputStream.readByte8

Redis read timed out

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

Jedis cannot access Redis.

java.net.SocketTimeoutException
6 frames hidden
redis.clients.util.RedisInputStream.ensureFill
8Web pages
JedisConnectionExceptionRedisInputStream.ensureFill8

Timeout connecting to Redis

java.net.SocketTimeoutException
18 frames hidden
redis.clients.jedis.JedisPool.getResource
8Web pages
1Solution
JedisConnectionExceptionJedisPool.getResource8

Redis read timed out

java.net.SocketTimeoutException
10 frames hidden
redis.clients.jedis.Connection.readProtocolWithCheckingBroken
8Web pages
JedisConnectionExceptionConnection.readProtocolWithCheckingBroken8

Jedis cannot access Redis.

java.net.SocketTimeoutException
4 frames hidden
redis.clients.util.RedisInputStream.fill
8Web pages
SocketTimeoutExceptionRedisInputStream.fill8

Jedis client is not available in the pool anymore

java.lang.IllegalStateException
2 frames hidden
redis.clients.util.Pool.returnResourceObject
7Web pages
1Solution
JedisExceptionPool.returnResourceObject7

Cannot read response from Redis

java.net.SocketTimeoutException
1 frames hidden
redis.clients.jedis.Protocol.read
7Web pages
SocketTimeoutExceptionProtocol.read7

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

Connection.sendCommand() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
3 frames hidden
redis.clients.jedis.Connection.sendCommand
7Web pages
ArrayIndexOutOfBoundsExceptionConnection.sendCommand7

Redis dropped the connection

java.net.SocketException
3 frames hidden
redis.clients.util.RedisInputStream.ensureFill
7Web pages
SocketExceptionRedisInputStream.ensureFill7

Connection.sendCommand() has thrown a SocketTimeoutException

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

Redis connection timed out

java.net.SocketTimeoutException
redis.clients.jedis.Connection.connect
6Web pages
SocketTimeoutExceptionConnection.connect6

Jedis tried to return an invalidated connection

java.lang.IllegalStateException
1 frames hidden
redis.clients.util.Pool.returnBrokenResourceObject
6Web pages
IllegalStateExceptionPool.returnBrokenResourceObject6

BinaryClient cannot connect to Redis.

java.net.SocketTimeoutException
1 frames hidden
redis.clients.jedis.BinaryClient.connect
6Web pages
SocketTimeoutExceptionBinaryClient.connect6

Connection.readProtocolWithCheckingBroken() has thrown a JedisConnectionException

java.net.SocketException
8 frames hidden
redis.clients.jedis.Connection.readProtocolWithCheckingBroken
6Web pages
JedisConnectionExceptionConnection.readProtocolWithCheckingBroken6

Redis cluster is down

redis.clients.jedis.exceptions.JedisClusterException
1 frames hidden
redis.clients.jedis.Protocol.process
6Web pages
JedisClusterExceptionProtocol.process6
Package namePatterns foundSolution coverageSummary coverage
redis.clients.jedis144
redis.clients.util24
Package nameClass namePatterns foundSolution coverageSummary coverage
redis.clients.jedisConnection43
redis.clients.jedisProtocol22
redis.clients.jedisBinaryJedis17
redis.clients.jedisJedis13
redis.clients.jedisBinaryClient12
redis.clients.utilPool11
redis.clients.jedisJedisPool9
redis.clients.utilRedisInputStream8
redis.clients.jedisJedisClusterCommand5
redis.clients.jedisPipeline4
redis.clients.jedisResponse4
redis.clients.jedisJedisCluster4
redis.clients.utilRedisOutputStream4
redis.clients.jedisBinaryJedisCluster2
redis.clients.jedisJedisSentinelPool2
redis.clients.jedisBuilderFactory$52
redis.clients.jedisJedisSlotBasedConnectionHandler2
redis.clients.jedisJedisFactory1
redis.clients.utilSafeEncoder1
redis.clients.jedisJedisPubSub1
redis.clients.jedisHostAndPort1
Package nameClass nameMethod namePatterns foundSolution coverage
redis.clients.jedisProtocolread10
redis.clients.jedisBinaryClientconnect10
redis.clients.jedisConnectionconnect10
redis.clients.jedisBinaryJedisconnect9
redis.clients.jedisConnectionsendCommand8
redis.clients.utilPoolgetResource8
redis.clients.jedisProtocolprocess6
redis.clients.utilRedisInputStreamensureFill5
redis.clients.jedisConnectiongetBinaryMultiBulkReply5
redis.clients.jedisConnectiongetStatusCodeReply5
redis.clients.jedisProtocolsendCommand5
redis.clients.jedisPipelinesyncAndReturnAll4
redis.clients.jedisResponseget4
redis.clients.jedisConnectiongetIntegerReply3
redis.clients.jedisJedisPoolreturnResource3
redis.clients.jedisJedisClusterset3
redis.clients.jedisJedissubscribe3
redis.clients.jedisConnectionreadProtocolWithCheckingBroken3
redis.clients.jedisJedisPoolgetResource3
redis.clients.jedisJedisClusterCommandrunWithRetries3
redis.clients.jedisJedisset3
redis.clients.jedisConnectiongetBinaryBulkReply2
redis.clients.jedisJedisSentinelPool<init>2
redis.clients.jedisBuilderFactory$5build2
redis.clients.jedisJedisClusterCommandrun2
redis.clients.jedisJedisPool<init>2
redis.clients.jedisBinaryJedisget2
redis.clients.jedisJediseval2
redis.clients.jedisConnectiongetAll2
redis.clients.utilRedisOutputStreamflushBuffer2
redis.clients.jedisJedisPoolreturnBrokenResource1
redis.clients.jedisConnectiongetBulkReply1
redis.clients.utilRedisInputStreamreadByte1
redis.clients.utilPoolinitPool1
redis.clients.jedisBinaryJedisrpush1
redis.clients.utilPoolreturnResourceObject1
redis.clients.jedisBinaryJedisCluster<init>1
redis.clients.utilRedisOutputStreamflush1
redis.clients.jedisBinaryJedisselect1
redis.clients.jedisJedissort1
redis.clients.jedisJedisFactorymakeObject1
redis.clients.utilRedisInputStreamreadLine1
redis.clients.utilSafeEncoderencode1
redis.clients.jedisConnectiongetObjectMultiBulkReply1
redis.clients.jedisConnectiongetRawObjectMultiBulkReply1
redis.clients.jedisBinaryClientping1
redis.clients.jedisJedisPubSubprocess1
redis.clients.jedisJedisSlotBasedConnectionHandlergetConnection1
redis.clients.jedisBinaryJediszrange1
redis.clients.jedisJedisconfigSet1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
redis.clients.jedisBinaryClientconnectJedisConnectionException8
redis.clients.jedisBinaryJedisconnectJedisConnectionException6
redis.clients.utilPoolgetResourceJedisConnectionException5
redis.clients.jedisConnectiongetBinaryMultiBulkReplyJedisConnectionException4
redis.clients.jedisConnectionconnectConnectException4
redis.clients.jedisConnectionsendCommandJedisConnectionException4
redis.clients.jedisConnectionconnectSocketTimeoutException4
redis.clients.jedisProtocolsendCommandSocketException4
redis.clients.jedisProtocolreadJedisConnectionException4
redis.clients.jedisJedissubscribeJedisConnectionException3
redis.clients.jedisProtocolprocessSocketTimeoutException3
redis.clients.jedisJedisPoolreturnResourceJedisException3
redis.clients.jedisJedisPoolgetResourceJedisConnectionException3
redis.clients.jedisConnectiongetStatusCodeReplyJedisConnectionException3
redis.clients.jedisProtocolreadSocketTimeoutException3
redis.clients.jedisConnectiongetAllJedisConnectionException2
redis.clients.jedisPipelinesyncAndReturnAllClassCastException2
redis.clients.jedisJedissetJedisConnectionException2
redis.clients.jedisResponsegetClassCastException2
redis.clients.jedisPipelinesyncAndReturnAllNullPointerException2
redis.clients.jedisConnectionreadProtocolWithCheckingBrokenJedisConnectionException2
redis.clients.jedisJedisClustersetJedisClusterMaxRedirectionsException2
redis.clients.jedisJedisClusterCommandrunWithRetriesJedisConnectionException2
redis.clients.jedisBuilderFactory$5buildClassCastException2
redis.clients.jedisConnectiongetBinaryBulkReplyJedisConnectionException2
redis.clients.utilRedisInputStreamensureFillSocketTimeoutException2
redis.clients.jedisJedisSentinelPool<init>JedisException2
redis.clients.utilRedisInputStreamensureFillJedisConnectionException2
redis.clients.jedisConnectiongetIntegerReplyJedisConnectionException2
redis.clients.utilRedisOutputStreamflushBufferSocketException2
redis.clients.jedisBinaryJedisgetJedisConnectionException2
redis.clients.jedisBinaryJedisconnectConnectException2
redis.clients.jedisJedisPubSubprocessJedisException1
redis.clients.jedisProtocolreadJedisDataException1
redis.clients.jedisBinaryJedischeckIsInMultiOrPipelineJedisDataException1
redis.clients.jedisConnectionsendCommandSocketTimeoutException1
redis.clients.jedisJedisClusterCommandrunJedisNoReachableClusterNodeException1
redis.clients.jedisBinaryJediszrangeJedisConnectionException1
redis.clients.jedisConnectiongetBinaryMultiBulkReplyClassCastException1
redis.clients.jedisJedisevalNullPointerException1
redis.clients.jedisJedisClusterCommandrunJedisClusterMaxRedirectionsException1
redis.clients.utilPoolreturnResourceObjectJedisException1
redis.clients.jedisBinaryClientconnectIllegalArgumentException1
redis.clients.jedisJediscloseJedisException1
redis.clients.utilRedisInputStreamreadLineJedisConnectionException1
redis.clients.jedisConnectionsendCommandNullPointerException1
redis.clients.utilPoolreturnBrokenResourceObjectIllegalStateException1
redis.clients.utilPoolinitPoolNotCompliantMBeanException1
redis.clients.jedisConnectiongetIntegerReplyClassCastException1
redis.clients.jedisJedissetJedisMovedDataException1