You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yu Li (Jira)" <ji...@apache.org> on 2020/05/18 12:06:00 UTC

[jira] [Commented] (FLINK-17015) Fix NPE from NullAwareMapIterator

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

Yu Li commented on FLINK-17015:
-------------------------------

[~jark] is this a critical bug that need to be fixed in 1.11.0? Asking since I'm considering whether the dependent issue FLINK-17610 could be deferred to 1.12. Thanks.

> Fix NPE from NullAwareMapIterator
> ---------------------------------
>
>                 Key: FLINK-17015
>                 URL: https://issues.apache.org/jira/browse/FLINK-17015
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>            Reporter: Jark Wu
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: 92164295_3052056384855585_3776552648744894464_o.jpg
>
>
> When using Heap statebackend, the underlying {{org.apache.flink.runtime.state.heap.HeapMapState#iterator}} may return a null iterator. It results in the {{NullAwareMapIterator}} holds a null iterator and throws NPE in the following {{NullAwareMapIterator#hasNext}} invocking. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)