flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Rohrmann (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLINK-9185) Potential null dereference in PrioritizedOperatorSubtaskState#resolvePrioritizedAlternatives
Date Sun, 22 Jul 2018 13:14:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-9185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Till Rohrmann resolved FLINK-9185.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.7.0

Fixed via c6b39e4f2af4f5cdcc6efc126f78d01d3237e2d9

> Potential null dereference in PrioritizedOperatorSubtaskState#resolvePrioritizedAlternatives
> --------------------------------------------------------------------------------------------
>
>                 Key: FLINK-9185
>                 URL: https://issues.apache.org/jira/browse/FLINK-9185
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Stephen Jason
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>
> {code}
>         if (alternative != null
>           && alternative.hasState()
>           && alternative.size() == 1
>           && approveFun.apply(reference, alternative.iterator().next())) {
> {code}
> The return value from approveFun.apply would be unboxed.
> We should check that the return value is not null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message