-
Bug
-
Resolution: Duplicate
-
Major
-
3.3
-
None
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]; }- duplicates
-
JGRP-1639 Locking: lock name with negative hashCode() throws out of bound exception
- Resolved