Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1463

FD_SOCK ArrayIndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.10, 3.1
    • 3.0.9, 3.1
    • None

      Hit this last night while running my usual sort of test: ie members leaving and joining

      Exception in thread "FD_SOCK pinger,Clumpy Test Cluster,CFS-A-tinkywinky" java.lang.ArrayIndexOutOfBoundsException: 0
              at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:368)
              at java.util.concurrent.CopyOnWriteArrayList.get(CopyOnWriteArrayList.java:377)
              at org.jgroups.protocols.FD_SOCK.determinePingDest(FD_SOCK.java:783)
              at org.jgroups.protocols.FD_SOCK.run(FD_SOCK.java:385)
              at java.lang.Thread.run(Thread.java:722)
      

      Presumably there's insufficient synchronization around pingable_mbrs in FD_SOCK.

      Similar to JGRP-1411.

              rhn-engineering-bban Bela Ban
              dimbleby David Hotham (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: