[
https://issues.jboss.org/browse/JGRP-1463?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-1463:
--------------------------------
I'm afraid your code is incorrect; we have to get the next member after us ! E.g. for
{A,B,C,D,E} if local_addr=C, the return value should be D. In your code it would always be
A (except if local_addr=A).
FD_SOCK ArrayIndexOutOfBoundsException
--------------------------------------
Key: JGRP-1463
URL:
https://issues.jboss.org/browse/JGRP-1463
Project: JGroups
Issue Type: Bug
Affects Versions: 3.0.9, 3.1
Reporter: David Hotham
Assignee: Bela Ban
Hit this last night while running my usual sort of test: ie members leaving and joining
{noformat}
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)
{noformat}
Presumably there's insufficient synchronization around pingable_mbrs in FD_SOCK.
Similar to JGRP-1411.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira