You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "lincoln lee (Jira)" <ji...@apache.org> on 2021/10/26 11:29:00 UTC

[jira] [Created] (FLINK-24654) NPE on RetractableTopNFunction when some records were cleared by state ttl

lincoln lee created FLINK-24654:
-----------------------------------

             Summary: 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.13.3, 1.14.0
            Reporter: lincoln lee
             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)