kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-5959) NPE in NetworkClient
Date Fri, 22 Sep 2017 19:02:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-5959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176940#comment-16176940
] 

ASF GitHub Bot commented on KAFKA-5959:
---------------------------------------

GitHub user apurvam opened a pull request:

    https://github.com/apache/kafka/pull/3947

    KAFKA-5959: Fix NPE in Sender.canRetry when idempotence is not enabled

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apurvam/kafka KAFKA-5959-npe-in-sender

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/3947.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3947
    
----
commit 29a4522500f720ad3ccb1e37cd2133d449986c81
Author: Apurva Mehta <apurva@confluent.io>
Date:   2017-09-22T18:59:51Z

    Fix NPE in  when idempotence is not enabled

----


> 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: Apurva Mehta
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> 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)

Mime
View raw message