Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13917

(err) Failed to dump debug information: java.lang.NullPointerException at dumpLongRunningOperations0(GridCachePartitionExchangeManager.java:2256)

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Sergey Uttsel Sergey Uttsel
            Sergey Uttsel Sergey Uttsel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 20m
              20m

              Slack

                Issue deployment