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)