Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Docs Required, Release Notes Required
Description
Got the following exception:
[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)
As I see from the code, GridCacheSharedContext wasn't initialized during the dumpLongRunningOperations0 method.
/** Context. */ protected GridCacheSharedContext<K, V> cctx;
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.
Attachments
Issue Links
- links to