You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Randall Hauch (JIRA)" <ji...@apache.org> on 2019/04/22 21:38:00 UTC
[jira] [Resolved] (KAFKA-8277) Fix NPE in ConnectHeaders
[ 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)