You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "Zihan Li (Jira)" <ji...@apache.org> on 2022/03/16 19:13:00 UTC
[jira] [Created] (GOBBLIN-1623) Fix NPE when try to close RestApiConnector
Zihan Li created GOBBLIN-1623:
---------------------------------
Summary: Fix NPE when try to close RestApiConnector
Key: GOBBLIN-1623
URL: https://issues.apache.org/jira/browse/GOBBLIN-1623
Project: Apache Gobblin
Issue Type: Improvement
Reporter: Zihan Li
Now when we try to call httpClient.getClientManager, it's possible that the implementation of httpClient will throw an NPE in this case. To make it more safer, we close the client when it's a CloseableHttpClient and other than that, we rely on the implementation of httpClient to handle the open connection
--
This message was sent by Atlassian Jira
(v8.20.1#820001)