You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading from Redisson 3.43.0 we get sporadic log warnings:
An exception was thrown by TimerTask. Index 0 out of bounds for length 0
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
at java.base/java.util.Objects.checkIndex(Objects.java:365)
at java.base/java.util.ArrayList.get(ArrayList.java:428)
at org.redisson.renewal.LockTask.renew(LockTask.java:71)
at org.redisson.renewal.RenewalTask.execute(RenewalTask.java:83)
at org.redisson.renewal.RenewalTask.run(RenewalTask.java:170)
at org.redisson.renewal.LockTask.run(LockTask.java:32)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.run(HashedWheelTimer.java:713)
at io.netty.util.concurrent.ImmediateExecutor.execute(ImmediateExecutor.java:34)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:701)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:788)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:501)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:1575)
As far as I can tell it is only noise and does not cause any task to fail. Does not appear to correlated with start up or shutdown.
Activity
Fixed - RenewalTask throws IndexOutOfBoundsException. #6506
mrniko commentedon Mar 21, 2025
Fixed. Thanks for report