Andrew Medvedev created IGNITE-8612:
---------------------------------------

             Summary: NPE in GridCacheTtlManager#expire on commit() or close()
                 Key: IGNITE-8612
                 URL: https://issues.apache.org/jira/browse/IGNITE-8612
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Andrew Medvedev


We have got NPE in 
org.apache.ignite.internal.processors.cache.GridCacheTtlManager#expire(int) 
several times during 4 minutes from tx.close() and tx.commit() here  
[https://github.com/apache/ignite/blob/40845c67750c300b5568d157ab0ffeaf320802a8/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheTtlManager.java#L203]
 

{{Caused by: java.lang.NullPointerException}}
{{at 
org.apache.ignite.internal.processors.cache.GridCacheTtlManager.expire(GridCacheTtlManager.java:197)}}
{{at 
org.apache.ignite.internal.processors.cache.GridCacheUtils.unwindEvicts(GridCacheUtils.java:834)}}
{{at 
org.apache.ignite.internal.processors.cache.GridCacheUtils.unwindEvicts(GridCacheUtils.java:844)}}
{{at 
org.apache.ignite.internal.processors.cache.transactions.TransactionProxyImpl.leave(TransactionProxyImpl.java:136)}}
{{at 
org.apache.ignite.internal.processors.cache.transactions.TransactionProxyImpl.close(TransactionProxyImpl.java:326)}}

This could  have been IgniteCacheOffheapManager == null, cctx.offheap() 
returning null, but I  could not reproduce it. To debug this further, a PR with 
assert added will be submitted



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

Reply via email to