org.springframework.dao.InvalidDataAccessApiUsageException: ERR Protocol error: invalid multibulk length; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR Protocol error: invalid multibulk length

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

,
Expert tip

You're experiencing issue #124 in spring session: https://goo.gl/CgfzZ2. You can use the workaround described here: https://goo.gl/pnn7Cc or check the bug page mentioned for disscussion about it!

,
Expert tip

Add your password property to the block in your Tomcat context.xml with JediShardInfo.setPassword(redisPassword)

Solutions on the web

via Spring JIRA by Jennifer Hickey, 1 year ago
ERR Protocol error: invalid multibulk length; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR Protocol error: invalid multibulk length
via Spring JIRA by Jennifer Hickey, 1 year ago
ERR Protocol error: invalid multibulk length; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR Protocol error: invalid multibulk length
via Spring JIRA by Jennifer Hickey, 1 year ago
Cannot use Jedis when in Multi. Please use JedisTransaction instead.; nested exception is redis.clients.jedis.exceptions.JedisDataException: Cannot use Jedis when in Multi. Please use JedisTransaction instead.
via Spring JIRA by Jennifer Hickey, 1 year ago
Cannot use Jedis when in Multi. Please use JedisTransaction instead.; nested exception is redis.clients.jedis.exceptions.JedisDataException: Cannot use Jedis when in Multi. Please use JedisTransaction instead.
org.springframework.dao.InvalidDataAccessApiUsageException: ERR Protocol error: invalid multibulk length; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR Protocol error: invalid multibulk length
at redis.clients.jedis.Protocol.processError(Protocol.java:59)
at redis.clients.jedis.Protocol.process(Protocol.java:66)
at redis.clients.jedis.Protocol.read(Protocol.java:131)
at redis.clients.jedis.Connection.getObjectMultiBulkReply(Connection.java:206)
at redis.clients.jedis.BinaryJedisPubSub.process(BinaryJedisPubSub.java:80)
at redis.clients.jedis.BinaryJedisPubSub.proceed(BinaryJedisPubSub.java:75)
at org.springframework.data.redis.connection.jedis.JedisConnection.subscribe(JedisConnection.java:2434)
at java.lang.Thread.run(Thread.java:680)

Users with the same issue

20 times, 1 month ago
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
5 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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