redis.clients.jedis.exceptions.JedisDataException: Cannot use Jedis when in Pipeline. Please use Pipeline or reset jedis state .

Spring JIRA | zhouyanming | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0
  2. 0

    Root Cause Analysis

    1. redis.clients.jedis.exceptions.JedisDataException

      Cannot use Jedis when in Pipeline. Please use Pipeline or reset jedis state .

      at redis.clients.jedis.BinaryJedis.checkIsInMultiOrPipeline()
    2. Jedis
      BinaryJedis.time
      1. redis.clients.jedis.BinaryJedis.checkIsInMultiOrPipeline(BinaryJedis.java:1671)
      2. redis.clients.jedis.BinaryJedis.time(BinaryJedis.java:3226)
      2 frames
    3. Spring Data Redis
      DefaultStringRedisConnection.time
      1. org.springframework.data.redis.connection.jedis.JedisConnection.time(JedisConnection.java:3184)
      2. org.springframework.data.redis.connection.DefaultStringRedisConnection.time(DefaultStringRedisConnection.java:2365)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. Spring Data Redis
      CloseSuppressingInvocationHandler.invoke
      1. org.springframework.data.redis.core.CloseSuppressingInvocationHandler.invoke(CloseSuppressingInvocationHandler.java:57)
      1 frame
    6. com.sun.proxy
      $Proxy142.time
      1. com.sun.proxy.$Proxy142.time(Unknown Source)
      1 frame