You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2020/12/28 17:49:00 UTC

[jira] [Commented] (IGNITE-13917) (err) Failed to dump debug information: java.lang.NullPointerException at dumpLongRunningOperations0(GridCachePartitionExchangeManager.java:2256)

    [ https://issues.apache.org/jira/browse/IGNITE-13917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17255676#comment-17255676 ] 

Ignite TC Bot commented on IGNITE-13917:
----------------------------------------

{panel:title=Branch: [pull/8619/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8619/head] Base: [master] : New Tests (1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 5{color} [[tests 1|https://ci.ignite.apache.org/viewLog.html?buildId=5809538]]
* {color:#013220}IgniteCacheTestSuite5: GridCachePartitionExchangeManagerWarningsTest.testDumpLongRunningOperationsWaitForFullyInitializedExchangeManager - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5809578&amp;buildTypeId=IgniteTests24Java8_RunAll]

> (err) Failed to dump debug information: java.lang.NullPointerException at dumpLongRunningOperations0(GridCachePartitionExchangeManager.java:2256)
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-13917
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13917
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Sergey Uttsel
>            Assignee: Sergey Uttsel
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Got the following exception:
> {code:java}
> [14:48:36] (err) Failed to dump debug information: java.lang.NullPointerExceptionjava.lang.NullPointerException
>         at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.dumpLongRunningOperations0(GridCachePartitionExchangeManager.java:2256)
>         at org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager.dumpLongRunningOperations(GridCachePartitionExchangeManager.java:2450)
>         at org.apache.ignite.internal.processors.cache.transactions.IgniteTxManager.lambda$null$1(IgniteTxManager.java:2088)
>         at org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:7164)
>         at org.apache.ignite.internal.processors.closure.GridClosureProcessor$1.body(GridClosureProcessor.java:826)
>         at org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:119)
>         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>         at java.base/java.lang.Thread.run(Thread.java:834)
> {code}
> As I see from the code, GridCacheSharedContext wasn't initialized during the dumpLongRunningOperations0 method.
> {code:java}
> /** Context. */
> protected GridCacheSharedContext<K, V> cctx;
> {code}
> I think there might be some kind of race here. We need to think about how to prevent this case.
> *UPDATE*
>  This NullPointerException looks harmless and does not lead to cluster instability.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)