You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/25 13:43:27 UTC

[jira] [Commented] (FLINK-5643) StateUtil.discardStateFuture fails when state future contains null value

    [ https://issues.apache.org/jira/browse/FLINK-5643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15837751#comment-15837751 ] 

ASF GitHub Bot commented on FLINK-5643:
---------------------------------------

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 <tr...@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.

----


> StateUtil.discardStateFuture fails when state future contains null value
> ------------------------------------------------------------------------
>
>                 Key: FLINK-5643
>                 URL: https://issues.apache.org/jira/browse/FLINK-5643
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>             Fix For: 1.2.0, 1.3.0
>
>
> When calling {{StateUtil.discardStateFuture}} with a state future which contains a null value, then the operation fails with a NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)