[jboss-jira] [JBoss JIRA] (JGRP-2085) IndexOutOfBoundsException when trace logging
Bela Ban (JIRA)
issues at jboss.org
Tue Jun 28 06:52:00 EDT 2016
[ https://issues.jboss.org/browse/JGRP-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Ban updated JGRP-2085:
---------------------------
Fix Version/s: 3.6.11
4.0
> IndexOutOfBoundsException when trace logging
> --------------------------------------------
>
> Key: JGRP-2085
> URL: https://issues.jboss.org/browse/JGRP-2085
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.6.9
> Reporter: Radim Vansa
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.6.11, 4.0
>
>
> When running with trace logging, I got couple of these STs:
> {code}
> Exception in thread "OOB-1,test-NodeE-13479" java.lang.IndexOutOfBoundsException: Index: 4, Size: 2
> at java.util.ArrayList.rangeCheck(ArrayList.java:653)
> at java.util.ArrayList.get(ArrayList.java:429)
> at org.jgroups.protocols.pbcast.NAKACK2.handleMessages(NAKACK2.java:868)
> at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:705)
> at org.jgroups.stack.Protocol.up(Protocol.java:425)
> at org.jgroups.protocols.TP.passBatchUp(TP.java:1600)
> at org.jgroups.protocols.TP$BatchHandler.run(TP.java:1820)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> Seems that part of the list of received messages is removed in handleMessages:864 in
> {code}
> boolean added=loopback || buf.add(msgs, oob, oob? DUMMY_OOB_MSG : null);
> {code}
> But the {{size}} is not recomputed afterwards.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list