You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2021/10/27 08:14:00 UTC
[jira] [Commented] (FLINK-24654) NPE on RetractableTopNFunction
when some records were cleared by state ttl
[ https://issues.apache.org/jira/browse/FLINK-24654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17434728#comment-17434728 ]
Jingsong Lee commented on FLINK-24654:
--------------------------------------
Thanks [~lincoln.86xy] for reporting. Can you provide the SQL?
> NPE on RetractableTopNFunction when some records were cleared by state ttl
> ---------------------------------------------------------------------------
>
> Key: FLINK-24654
> URL: https://issues.apache.org/jira/browse/FLINK-24654
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Runtime
> Affects Versions: 1.14.0, 1.13.3
> Reporter: lincoln lee
> Assignee: lincoln lee
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> NullPointerException will occurr when some records were cleared by the state ttl.
> stack:
> {quote}java.lang.NullPointerExceptionjava.lang.NullPointerException at org.apache.flink.table.runtime.operators.rank.RetractableTopNFunction.retractRecordWithRowNumber(RetractableTopNFunction.java:379) at org.apache.flink.table.runtime.operators.rank.RetractableTopNFunction.processElement(RetractableTopNFunction.java:175) at org.apache.flink.table.runtime.operators.rank.RetractableTopNFunction.processElement(RetractableTopNFunction.java:54) at org.apache.flink.streaming.api.operators.KeyedProcessOperator.processElement(KeyedProcessOperator.java:83) at org.apache.flink.streaming.util.OneInputStreamOperatorTestHarness.processElement(OneInputStreamOperatorTestHarness.java:209) at org.apache.flink.table.planner.runtime.harness.RankHarnessTest.testRetractRankWithRowNumber(RankHarnessTest.scala:111)
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)