You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/24 20:59:00 UTC
[jira] [Commented] (IGNITE-8612) NPE in GridCacheTtlManager#expire
on commit() or close() on client
[ https://issues.apache.org/jira/browse/IGNITE-8612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16489795#comment-16489795 ]
ASF GitHub Bot commented on IGNITE-8612:
----------------------------------------
GitHub user andrewmed opened a pull request:
https://github.com/apache/ignite/pull/4066
IGNITE-8612 Debugging NPE in GridCacheTtlManager: add assert
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrewmed/ignite ignite-8612
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4066.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4066
----
commit 7554b6fc667954b37cc52feb3ccc23b663defdd2
Author: AMedvedev <am...@...>
Date: 2018-05-24T20:50:54Z
IGNITE-8612 Debugging NPE: add assert
----
> NPE in GridCacheTtlManager#expire on commit() or close() on client
> ------------------------------------------------------------------
>
> Key: IGNITE-8612
> URL: https://issues.apache.org/jira/browse/IGNITE-8612
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.4
> Reporter: Andrew Medvedev
> Priority: Major
>
> 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)