java.lang.ArithmeticException: / by zero

GitHub | shailender-bathula | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.ArithmeticException

    / by zero

    at org.redisson.connection.balancer.WeightedRoundRobinBalancer.getEntry()
  2. org.redisson.connection
    LoadBalancerManagerImpl.nextConnection
    1. org.redisson.connection.balancer.WeightedRoundRobinBalancer.getEntry(WeightedRoundRobinBalancer.java:150)
    2. org.redisson.connection.pool.ConnectionPool.getEntry(ConnectionPool.java:135)
    3. org.redisson.connection.pool.ConnectionPool.get(ConnectionPool.java:140)
    4. org.redisson.connection.pool.SlaveConnectionPool.get(SlaveConnectionPool.java:24)
    5. org.redisson.connection.balancer.LoadBalancerManagerImpl.nextConnection(LoadBalancerManagerImpl.java:139)
    5 frames
  3. Redisson
    MasterSlaveConnectionManager.connectionReadOp
    1. org.redisson.connection.MasterSlaveEntry.connectionReadOp(MasterSlaveEntry.java:363)
    2. org.redisson.connection.MasterSlaveConnectionManager.connectionReadOp(MasterSlaveConnectionManager.java:589)
    2 frames
  4. org.redisson.command
    CommandAsyncService.readAsync
    1. org.redisson.command.CommandAsyncService.async(CommandAsyncService.java:393)
    2. org.redisson.command.CommandAsyncService.readAsync(CommandAsyncService.java:267)
    2 frames
  5. Redisson
    RedissonBucket.get
    1. org.redisson.RedissonBucket.getAsync(RedissonBucket.java:97)
    2. org.redisson.RedissonBucket.get(RedissonBucket.java:92)
    2 frames