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

StateUtil.discardStateFuture fails when state future contains null value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.0
    • Fix Version/s: 1.2.0, 1.3.0
    • Component/s: None
    • Labels:
      None

      Description

      When calling StateUtil.discardStateFuture with a state future which contains a null value, then the operation fails with a NPE.

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/flink/pull/3212

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/3212
          Hide
          till.rohrmann Till Rohrmann added a comment -

          1.3.0: cf9f4c77c8e785567f036cc2fbb97c0cd16979a7
          1.2.0: f61f331ff04426e8b07117e2a568749fb036e1cc

          Show
          till.rohrmann Till Rohrmann added a comment - 1.3.0: cf9f4c77c8e785567f036cc2fbb97c0cd16979a7 1.2.0: f61f331ff04426e8b07117e2a568749fb036e1cc
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user tillrohrmann commented on the issue:

          https://github.com/apache/flink/pull/3212

          Forwarding review from #3213. Merging this PR.

          Show
          githubbot ASF GitHub Bot added a comment - Github user tillrohrmann commented on the issue: https://github.com/apache/flink/pull/3212 Forwarding review from #3213. Merging this PR.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user tillrohrmann closed the pull request at:

          https://github.com/apache/flink/pull/3213

          Show
          githubbot ASF GitHub Bot added a comment - Github user tillrohrmann closed the pull request at: https://github.com/apache/flink/pull/3213
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user tillrohrmann commented on the issue:

          https://github.com/apache/flink/pull/3213

          Thanks for the review @rmetzger. Merging this PR.

          Show
          githubbot ASF GitHub Bot added a comment - Github user tillrohrmann commented on the issue: https://github.com/apache/flink/pull/3213 Thanks for the review @rmetzger. Merging this PR.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user rmetzger commented on the issue:

          https://github.com/apache/flink/pull/3213

          +1

          Show
          githubbot ASF GitHub Bot added a comment - Github user rmetzger commented on the issue: https://github.com/apache/flink/pull/3213 +1
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user tillrohrmann opened a pull request:

          https://github.com/apache/flink/pull/3213

          FLINK-5643 Fix NPE in StateUtil

          Introduces a null check to deal with state futures which have a null value.

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/tillrohrmann/flink stateFutureFixDiscardBackport

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/flink/pull/3213.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #3213


          commit 99452d926a2cb210dbbabdd3c8eee8fdcf74058e
          Author: Till Rohrmann <trohrmann@apache.org>
          Date: 2017-01-25T13:39:51Z

          FLINK-5643 Fix NPE in StateUtil

          Introduces a null check to deal with state futures which have a null value.


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/3213 FLINK-5643 Fix NPE in StateUtil Introduces a null check to deal with state futures which have a null value. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink stateFutureFixDiscardBackport Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3213.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3213 commit 99452d926a2cb210dbbabdd3c8eee8fdcf74058e Author: Till Rohrmann <trohrmann@apache.org> Date: 2017-01-25T13:39:51Z FLINK-5643 Fix NPE in StateUtil Introduces a null check to deal with state futures which have a null value.
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user tillrohrmann opened a pull request:

          https://github.com/apache/flink/pull/3212

          FLINK-5643 Fix NPE in StateUtil

          Introduces a null check to deal with state futures which have a null value.

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/tillrohrmann/flink stateFutureFixDiscard

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/flink/pull/3212.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #3212


          commit a3062af22b2be71f6e85a89bd554a87ad1ced2de
          Author: Till Rohrmann <trohrmann@apache.org>
          Date: 2017-01-25T13:39:51Z

          FLINK-5643 Fix NPE in StateUtil

          Introduces a null check to deal with state futures which have a null value.


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/3212 FLINK-5643 Fix NPE in StateUtil Introduces a null check to deal with state futures which have a null value. You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink stateFutureFixDiscard Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3212.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3212 commit a3062af22b2be71f6e85a89bd554a87ad1ced2de Author: Till Rohrmann <trohrmann@apache.org> Date: 2017-01-25T13:39:51Z FLINK-5643 Fix NPE in StateUtil Introduces a null check to deal with state futures which have a null value.

            People

            • Assignee:
              till.rohrmann Till Rohrmann
              Reporter:
              till.rohrmann Till Rohrmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development