Tim Tim created JGRP-1636:
-----------------------------
Summary: java.lang.ArrayIndexOutOfBoundsException when trying to accure lock
Key: JGRP-1636
URL:
https://issues.jboss.org/browse/JGRP-1636
Project: JGroups
Issue Type: Bug
Affects Versions: 3.3
Environment: Ubuntu 12.10 , kernel 3.5.0-26-generic SMP
Reporter: Tim Tim
Assignee: Bela Ban
Priority: Critical
Getting java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException: -4
at org.jgroups.protocols.Locking._getLock(Locking.java:355)
at org.jgroups.protocols.Locking.handleLockRequest(Locking.java:424)
that happens when lock_name.hashCode() < 0
protected Lock _getLock(String lock_name) {
int index=lock_name != null? lock_name.hashCode() % locks.length : 0;
return locks[index];
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira