Skip to content

java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 #6519

Closed

Description

@412498569

Redis version

7.4.2

Redisson version

3.45.1

Redisson configuration

clusterServer

What is the Expected behavior?

No response

What is the Actual behavior?

2025-03-28T01:26:42.689443511Z 2025-03-28T09:26:42.688+08:00 WARN 1 --- [jt808-work] [isson-timer-4-1] i.n.u.HashedWheelTimer : An exception was thrown by TimerTask.

2025-03-28T01:26:42.689466368Z

2025-03-28T01:26:42.689470171Z java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0

2025-03-28T01:26:42.689473601Z at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source) ~[?:?]

2025-03-28T01:26:42.689477255Z at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source) ~[?:?]

2025-03-28T01:26:42.689480641Z at java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source) ~[?:?]

2025-03-28T01:26:42.689483850Z at java.base/java.util.Objects.checkIndex(Unknown Source) ~[?:?]

2025-03-28T01:26:42.689486907Z at java.base/java.util.ArrayList.get(Unknown Source) ~[?:?]

2025-03-28T01:26:42.689489993Z at org.redisson.renewal.LockTask.renew(LockTask.java:71) ~[redisson-3.45.1.jar:3.45.1]

2025-03-28T01:26:42.689493432Z at org.redisson.renewal.RenewalTask.renewSlots(RenewalTask.java:94) ~[redisson-3.45.1.jar:3.45.1]

2025-03-28T01:26:42.689496887Z at org.redisson.renewal.RenewalTask.execute(RenewalTask.java:86) ~[redisson-3.45.1.jar:3.45.1]

2025-03-28T01:26:42.689500358Z at org.redisson.renewal.RenewalTask.run(RenewalTask.java:170) ~[redisson-3.45.1.jar:3.45.1]

2025-03-28T01:26:42.689503827Z at org.redisson.renewal.LockTask.run(LockTask.java:32) ~[redisson-3.45.1.jar:3.45.1]

2025-03-28T01:26:42.689507389Z at io.netty.util.HashedWheelTimer$HashedWheelTimeout.run(HashedWheelTimer.java:713) ~[netty-common-4.1.117.Final.jar:4.1.117.Final]

2025-03-28T01:26:42.689511001Z at io.netty.util.concurrent.ImmediateExecutor.execute(ImmediateExecutor.java:34) ~[netty-common-4.1.117.Final.jar:4.1.117.Final]

2025-03-28T01:26:42.689514651Z at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:701) ~[netty-common-4.1.117.Final.jar:4.1.117.Final]

2025-03-28T01:26:42.689518423Z at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:788) ~[netty-common-4.1.117.Final.jar:4.1.117.Final]

2025-03-28T01:26:42.689521797Z at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:501) ~[netty-common-4.1.117.Final.jar:4.1.117.Final]

2025-03-28T01:26:42.689525420Z at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.117.Final.jar:4.1.117.Final]

2025-03-28T01:26:42.689529088Z at java.base/java.lang.Thread.run(Unknown Source) [?:?]

2025-03-28T01:26:42.689545716Z

Additional information

No response

Activity

  1. mrniko commented on Mar 28, 2025

    @mrniko
    Member

    Fixed in #6506

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions