You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Sagar Rao (Jira)" <ji...@apache.org> on 2022/08/20 09:54:00 UTC

[jira] [Resolved] (KAFKA-14012) passing a "method" into the `Utils.closeQuietly` method cause NPE

     [ https://issues.apache.org/jira/browse/KAFKA-14012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagar Rao resolved KAFKA-14012.
-------------------------------
    Resolution: Fixed

> passing a "method" into the `Utils.closeQuietly` method cause NPE
> -----------------------------------------------------------------
>
>                 Key: KAFKA-14012
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14012
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>    Affects Versions: 3.2.0
>            Reporter: Luke Chen
>            Assignee: Sagar Rao
>            Priority: Major
>
> Utils.closeQuietly method accepts `AutoCloseable` object, and close it. But there are some places we passed "method" into Utils.closeQuietly, which causes the object doesn't get closed as expected. 
> I found it appeared in:
> - WorkerConnector
> - AbstractWorkerSourceTask
> - KafkaConfigBackingStore
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)