Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5959

NPE in NetworkClient

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: producer
    • Labels:
      None

      Description

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

      [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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apurva Apurva Mehta
                Reporter:
                xvrl Xavier Léauté
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: