flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vinoyang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLINK-9736) Potential null reference in KeyGroupPartitionedPriorityQueue#poll()
Date Wed, 04 Jul 2018 11:11:00 GMT

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

vinoyang reassigned FLINK-9736:
-------------------------------

    Assignee: vinoyang

> Potential null reference in KeyGroupPartitionedPriorityQueue#poll()
> -------------------------------------------------------------------
>
>                 Key: FLINK-9736
>                 URL: https://issues.apache.org/jira/browse/FLINK-9736
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: vinoyang
>            Priority: Minor
>
> {code}
>     final PQ headList = heapOfkeyGroupedHeaps.peek();
>     final T head = headList.poll();
> {code}
> {{peek}} call may return null.
> The return value should be checked before de-referencing.



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

Mime
View raw message