redis.clients.jedis.exceptions.JedisDataException

ERR Protocol error: expected '$', got ' '

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.

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!

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

Solutions on the web104

  • ERR Protocol error: expected '$', got ' '
  • ERR Protocol error: expected '$', got ' '
  • via GitHub by xetorthio
    , 11 months ago
    ERR Protocol error: expected '$', got ' '
  • Stack trace

    • redis.clients.jedis.exceptions.JedisDataException: ERR Protocol error: expected '$', got ' ' 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.hset(Jedis.java:606) at me.FlawlezZ.FlawlordBasedSan.redis.JedisManager.hset(JedisManager.java:38) at me.FlawlezZ.FlawlordChaRPGSan.data.Characters$JedisCharacter.read(Characters.java:43) at me.FlawlezZ.FlawlordChaRPGSan.data.mongo.MongoCharacter.readCharacter(MongoCharacter.java:34) at me.FlawlezZ.FlawlordChaRPGSan.data.mongo.MongoCharacter.lambda$loadCharacter$0(MongoCharacter.java:43) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    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

    3676 times, 11 months ago
    Unknown user
    Once, 9 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    29 more bugmates