-
Bug
-
Resolution: Done
-
Minor
-
4.1.8
-
None
PD_SOCK.pickNext() should iterate up to size - 1:
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) at java.base/java.util.Objects.checkIndex(Objects.java:372) at java.base/java.util.ArrayList.get(ArrayList.java:458) at java.base/java.util.Collections$SynchronizedList.get(Collections.java:2424) at org.jgroups.util.Util.pickNext(Util.java:2686) at org.jgroups.protocols.FD_SOCK.determinePingDest(FD_SOCK.java:762) at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:408) at java.base/java.lang.Thread.run(Thread.java:834)