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

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

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

Danny Chen closed FLINK-17015.
------------------------------
    Resolution: Fixed

> 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
>             Fix For: 1.11.0
>
>         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)