You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Caizhi Weng (Jira)" <ji...@apache.org> on 2020/04/10 07:24:00 UTC
[jira] [Created] (FLINK-17080) Utils.CollectHelper is possible to
throw NPE if the sink is up but not initialized when the job fails
Caizhi Weng created FLINK-17080:
-----------------------------------
Summary: Utils.CollectHelper is possible to throw NPE if the sink is up but not initialized when the job fails
Key: FLINK-17080
URL: https://issues.apache.org/jira/browse/FLINK-17080
Project: Flink
Issue Type: Bug
Components: API / DataSet
Affects Versions: 1.11.0
Reporter: Caizhi Weng
When the sink using {{Utils.CollectHelper}} is up but not initialized and the job fails due to other operators, it is possible that the {{close()}} method of {{Utils.CollectHelper}} is called when {{open()}} is not called.
Currently {{Utils.CollectHelper}} does not deal with this case and will throw NPE.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)