[
https://issues.apache.org/jira/browse/FLINK-17015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110252#comment-17110252
]
Jark Wu commented on FLINK-17015:
---------------------------------
I think we should fix this one in 1.11.0. But we can fix it in table side (with
a lot of null condition). If FLINK-17610 is planned in 1.11, that would be
great.
> 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)