Xavier Léauté created KAFKA-5959:
------------------------------------

             Summary: NPE in NetworkClient
                 Key: KAFKA-5959
                 URL: https://issues.apache.org/jira/browse/KAFKA-5959
             Project: Kafka
          Issue Type: Bug
          Components: producer 
    Affects Versions: 1.0.0
            Reporter: Xavier Léauté
            Assignee: Jason Gustafson


I'm experiencing the following error when running trunk clients against a 
0.11.0 cluster configured with SASL_PLAINTEXT

{code}
[2017-09-21 23:07:09,072] ERROR [kafka-producer-network-thread | xxx] [Producer 
clientId=xxx] Uncaught error in request completion: 
(org.apache.kafka.clients.NetworkClient)
java.lang.NullPointerException
        at 
org.apache.kafka.clients.producer.internals.Sender.canRetry(Sender.java:639)
        at 
org.apache.kafka.clients.producer.internals.Sender.completeBatch(Sender.java:522)
        at 
org.apache.kafka.clients.producer.internals.Sender.handleProduceResponse(Sender.java:473)
        at 
org.apache.kafka.clients.producer.internals.Sender.access$100(Sender.java:76)
        at 
org.apache.kafka.clients.producer.internals.Sender$1.onComplete(Sender.java:693)
        at 
org.apache.kafka.clients.ClientResponse.onComplete(ClientResponse.java:101)
        at 
org.apache.kafka.clients.NetworkClient.completeResponses(NetworkClient.java:481)
        at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:453)
        at 
org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:241)
        at 
org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:166)
        at java.lang.Thread.run(Thread.java:748)
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to