[
https://issues.apache.org/jira/browse/FLINK-17080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jark Wu reassigned FLINK-17080:
-------------------------------
Assignee: Caizhi Weng
> 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
> Assignee: Caizhi Weng
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)