Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9185

Potential null dereference in PrioritizedOperatorSubtaskState#resolvePrioritizedAlternatives

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.0
    • None

    Description

              if (alternative != null
                && alternative.hasState()
                && alternative.size() == 1
                && approveFun.apply(reference, alternative.iterator().next())) {
      

      The return value from approveFun.apply would be unboxed.
      We should check that the return value is not null.

      Attachments

        Issue Links

          Activity

            People

              Stephen Jason Stephen Jason
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: