[ https://issues.apache.org/jira/browse/FLINK-21278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279270#comment-17279270 ]
WeiNan Zhao commented on FLINK-21278: ------------------------------------- Can you provide test code and error details. > NullpointExecption error is reported when using the evictor method to filter > the data before the window calculation > ------------------------------------------------------------------------------------------------------------------- > > Key: FLINK-21278 > URL: https://issues.apache.org/jira/browse/FLINK-21278 > Project: Flink > Issue Type: Bug > Components: API / DataStream > Affects Versions: 1.12.1 > Reporter: HunterHunter > Priority: Blocker > > When I use evictor() method to filter the data before a window is triggered, > if there is no data that meets the conditions, a nullpointExecption error > will be reported. > This problem occurs in the ReduceApplyWindowFunction.apply method. > So I think if there is no data to calculate whether it can not trigger the > calculation, or judge whether it is null before transmitting the calculation > result -- This message was sent by Atlassian Jira (v8.3.4#803005)