[
https://issues.apache.org/jira/browse/FLINK-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243757#comment-16243757
]
ASF GitHub Bot commented on FLINK-7971:
---------------------------------------
Github user fhueske commented on the issue:
https://github.com/apache/flink/pull/4941
Thanks for the PR @Xpray.
I will merge it.
> Fix potential NPE with inconsistent state
> -----------------------------------------
>
> Key: FLINK-7971
> URL: https://issues.apache.org/jira/browse/FLINK-7971
> Project: Flink
> Issue Type: Bug
> Components: Table API & SQL
> Reporter: Ruidong Li
> Assignee: Ruidong Li
>
> In {{GroupAggProcessFunction}}, the status of {{state}} and {{cntState}} are
> not consistent, which may cause NPE when {{state}} is not null but
> {{cntState}} is null.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)