Sergey Uttsel created IGNITE-13917: -------------------------------------- Summary: (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
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)