[jira] [Created] (FLINK-9736) Potential null reference in KeyGroupPartitionedPriorityQueue#poll()

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-9736) Potential null reference in KeyGroupPartitionedPriorityQueue#poll()

Shang Yuanchun (Jira)
Ted Yu created FLINK-9736:
-----------------------------

             Summary: 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


{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)