when invoking AffinityLock.acquireLock(),the exception ArrayIndexOutOfBoundsException occurs.what's the problem?