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:14:00 UTC

[jira] [Created] (KAFKA-8277) Fix NPE in ConnectHeaders

Randall Hauch created KAFKA-8277:
------------------------------------

             Summary: 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
             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)