com.lambdaworks.redis.RedisException: java.util.ConcurrentModificationException

GitHub | OutOfBrain | 7 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

    GitHub comment 333#239405115

    GitHub | 7 months ago | OutOfBrain
    com.lambdaworks.redis.RedisException: java.lang.NullPointerException

    Root Cause Analysis

    1. com.lambdaworks.redis.RedisException

      java.util.ConcurrentModificationException

      at com.lambdaworks.redis.cluster.PooledClusterConnectionProvider.getConnection()
    2. com.lambdaworks.redis
      ClusterDistributionChannelWriter.write
      1. com.lambdaworks.redis.cluster.PooledClusterConnectionProvider.getConnection(PooledClusterConnectionProvider.java:77)
      2. com.lambdaworks.redis.cluster.ClusterDistributionChannelWriter.write(ClusterDistributionChannelWriter.java:98)
      2 frames
    3. lettuce
      RedisChannelHandler.dispatch
      1. com.lambdaworks.redis.RedisChannelHandler.dispatch(RedisChannelHandler.java:118)
      1 frame
    4. com.lambdaworks.redis
      StatefulRedisClusterConnectionImpl.dispatch
      1. com.lambdaworks.redis.cluster.StatefulRedisClusterConnectionImpl.dispatch(StatefulRedisClusterConnectionImpl.java:189)
      1 frame
    5. lettuce
      AbstractRedisAsyncCommands.hkeys
      1. com.lambdaworks.redis.AbstractRedisAsyncCommands.dispatch(AbstractRedisAsyncCommands.java:1798)
      2. com.lambdaworks.redis.AbstractRedisAsyncCommands.hkeys(AbstractRedisAsyncCommands.java:437)
      2 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:497)
      3 frames
    7. com.lambdaworks.redis
      AbstractInvocationHandler.invoke
      1. com.lambdaworks.redis.cluster.StatefulRedisClusterConnectionImpl$ClusterFutureSyncInvocationHandler.handleInvocation(StatefulRedisClusterConnectionImpl.java:334)
      2. com.lambdaworks.redis.internal.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:54)
      2 frames
    8. com.sun.proxy
      $Proxy17.hkeys
      1. com.sun.proxy.$Proxy17.hkeys(Unknown Source)[...snip...]
      1 frame
    9. Hadoop
      YarnChild$2.run
      1. org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
      2. org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
      3. org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
      4. org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
      4 frames
    10. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:422)
      2 frames
    11. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
      1 frame