Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35136

Initial null value of LiveStage.info can lead to NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.2, 3.2.0
    • Component/s: Spark Core
    • Labels:
      None

      Description

      The `AppStatusListener.getOrCreateStage` method creates a LiveStage object with the `info` field set to null and right after that set it to a specific StageInfo object. This can lead to a race condition when the `livestages` are read in between those calls. This could then lead to a null pointer exception in, for instance: `activeStages`.

        Attachments

          Activity

            People

            • Assignee:
              sgoos-db Sander Goos
              Reporter:
              sgoos-db Sander Goos
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: