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

Randall Hauch resolved KAFKA-8277.
----------------------------------
    Resolution: Fixed

> Fix NPE in ConnectHeaders
> -------------------------
>
>                 Key: KAFKA-8277
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8277
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>    Affects Versions: 1.1.0
>            Reporter: Randall Hauch
>            Priority: Major
>             Fix For: 1.1.2, 2.0.2, 2.3.0, 2.1.2, 2.2.1
>
>
> Replace {{headers.isEmpty()}} by calls to {{isEmpty()}} as the latter does a 
> null check on heathers (that is lazily created).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to