redis.clients.jedis.exceptions.JedisDataException: WRONGTYPE Operation against a key holding the wrong kind of value

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

Redis has some limitations of various bulk length, the length of args of the API command MSET can't be bigger than 1024*1024, set a limiter on how big your list is to avoid this.

,
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!

Solutions on the web

via Stack Overflow by Max Fortin
, 1 year ago
WRONGTYPE Operation against a key holding the wrong kind of value
via Stack Overflow by Anji
, 1 year ago
WRONGTYPE Operation against a key holding the wrong kind of value
via GitHub by chuanqi
, 1 year ago
ERR wrong number of arguments for 'spop' command
via GitHub by serge-groshev
, 2 years ago
LOADING Redis is loading the dataset in memory
via GitHub by looly
, 2 years ago
ERR wrong number of arguments for 'brpop' command
via GitHub by jmorales4
, 1 year ago
ERR value is not a valid float
redis.clients.jedis.exceptions.JedisDataException: WRONGTYPE Operation against a key holding the wrong kind of value
at redis.clients.jedis.Protocol.processError(Protocol.java:117)
at redis.clients.jedis.Protocol.process(Protocol.java:151)
at redis.clients.jedis.Protocol.read(Protocol.java:205)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:297)
at redis.clients.jedis.Connection.getIntegerReply(Connection.java:222)
at Commands.NEW.excecute(NEW.java:25)
at Controllers.mainController.parseCommand(mainController.java:100)
at Controllers.mainController.submitHandler(mainController.java:57)

Users with the same issue

2 times, 1 week ago
20 times, 3 months ago
Once, 3 months ago
5 times, 4 months ago
3676 times, 1 year ago

Write tip

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