Pavel Tupitsyn created IGNITE-13128:
---------------------------------------
Summary: IgniteLock throws NullPointerException when removed before use
Key: IGNITE-13128
URL:
https://issues.apache.org/jira/browse/IGNITE-13128 Project: Ignite
Issue Type: Bug
Components: data structures
Affects Versions: 2.8
Reporter: Pavel Tupitsyn
Fix For: 2.9
Reproducer:
{code:java}
public void testClosedLockThrowsIgniteException() {
final String lockName = "testRemovedLockThrowsIgniteException";
Ignite srv = ignite(0);
IgniteLock lock1 = srv.reentrantLock(lockName, false, false, true);
IgniteLock lock2 = srv.reentrantLock(lockName, false, false, true);
lock1.close();
lock2.lock();
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)