org.springframework.dao.InvalidDataAccessApiUsageException

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.

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!

tip

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

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

  • Spring redis publish subscribe error
    via Stack Overflow by Herry
    ,
  • ERR Protocol error: invalid bulk length
    via by Sairam M P,
  • migrate bug
    via GitHub by wylyeak
    ,
    • org.springframework.dao.InvalidDataAccessApiUsageException: Not Implemented; nested exception is redis.clients.jedis.exceptions.JedisDataException: Not Implemented at org.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:44) at org.springframework.data.redis.connection.jedis.JedisExceptionConverter.convert(JedisExceptionConverter.java:36) at org.springframework.data.redis.PassThroughExceptionTranslationStrategy.translate(PassThroughExceptionTranslationStrategy.java:37) at org.springframework.data.redis.FallbackExceptionTranslationStrategy.translate(FallbackExceptionTranslationStrategy.java:37) at org.springframework.data.redis.connection.jedis.JedisConnection.convertJedisAccessException(JedisConnection.java:210) at org.springframework.data.redis.connection.jedis.JedisConnection.pSubscribe(JedisConnection.java:2962) at org.springframework.data.redis.listener.RedisMessageListenerContainer$SubscriptionTask.eventuallyPerformSubscription(RedisMessageListenerContainer.java:773) at org.springframework.data.redis.listener.RedisMessageListenerContainer$SubscriptionTask.run(RedisMessageListenerContainer.java:740) at java.lang.Thread.run(Thread.java:745) Caused by: redis.clients.jedis.exceptions.JedisDataException: Not Implemented at redis.clients.jedis.Protocol.processError(Protocol.java:113) at redis.clients.jedis.Protocol.process(Protocol.java:138) at redis.clients.jedis.Protocol.read(Protocol.java:192) at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:282) at redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java:227) at redis.clients.jedis.Connection.getObjectMultiBulkReply(Connection.java:233) at redis.clients.jedis.BinaryJedisPubSub.process(BinaryJedisPubSub.java:85) at redis.clients.jedis.BinaryJedisPubSub.proceedWithPatterns(BinaryJedisPubSub.java:74) at redis.clients.jedis.BinaryJedis.psubscribe(BinaryJedis.java:2853) at org.springframework.data.redis.connection.jedis.JedisConnection.pSubscribe(JedisConnection.java:2959)

    Users with the same issue

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