redis.clients.jedis.exceptions.JedisDataException

WRONGTYPE Operation against a key holding the wrong kind of value

Samebug tips3

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.


rafaelrafael

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!


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web98

  • via Unknown by Unknown author,
  • via Unknown by Unknown author,
  • Stack trace

    • 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 redis.clients.jedis.Jedis.rpush(Jedis.java:813) at Commands.NEW.excecute(NEW.java:25) at Controllers.mainController.parseCommand(mainController.java:100) at Controllers.mainController.submitHandler(mainController.java:57)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    aldrinlealaldrinleal
    3676 times, last one
    Unknown visitor
    Unknown visitorOnce,
    29 more bugmates