[jboss-jira] [JBoss JIRA] (JGRP-1636) java.lang.ArrayIndexOutOfBoundsException when trying to accure lock

Bela Ban (JIRA) jira-events at lists.jboss.org
Fri Jun 7 05:33:55 EDT 2013


    [ https://issues.jboss.org/browse/JGRP-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780072#comment-12780072 ] 

Bela Ban commented on JGRP-1636:
--------------------------------

This is a bug and was fixed in https://issues.jboss.org/browse/JGRP-1639
                
> 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
>             Fix For: 3.4
>
>
> 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


More information about the jboss-jira mailing list