[jira] [Created] (IGNITE-8375) NPE due to race on cache stop and timeout handler execution.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-8375) NPE due to race on cache stop and timeout handler execution.

Anton Vinogradov (Jira)
Alexei Scherbakov created IGNITE-8375:
-----------------------------------------

             Summary: NPE due to race on cache stop and timeout handler execution.
                 Key: IGNITE-8375
                 URL: https://issues.apache.org/jira/browse/IGNITE-8375
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Alexei Scherbakov
             Fix For: 2.6


NPE caused by execution of method [1] during timeout handler execution [2]:

cacheCfg.isLoadPreviousValue() throws NPE because cacheCfg can be nulled by [3] on stop.

[1] org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLockFuture#loadMissingFromStore
[2] org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLockFuture.LockTimeoutObject#onTimeout
[3] org.apache.ignite.internal.processors.cache.GridCacheContext#cleanup



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)