kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ismael Juma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4966) Producer throw a NullPointerException under a network environment where packet loss and error packets exist.
Date Tue, 28 Mar 2017 09:44:41 GMT

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

Ismael Juma commented on KAFKA-4966:
------------------------------------

Thanks for the report. Can you specify the Kafka Producer version for the stacktrace posted?
There are two versions listed in "Affects version", so that's why I'm asking.

> Producer throw a NullPointerException under a network environment where packet loss and
error packets exist.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4966
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4966
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.10.0.1, 0.10.2.0
>            Reporter: Bo Wang
>
> 2017-03-27 18:45:54,757 | ERROR | [kafka-producer-network-thread | producer-1] |  Uncaught
error in request completion:  | org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:284)
> java.lang.NullPointerException
> 	at org.apache.kafka.clients.producer.internals.Sender.canRetry(Sender.java:342)
> 	at org.apache.kafka.clients.producer.internals.Sender.completeBatch(Sender.java:310)
> 	at org.apache.kafka.clients.producer.internals.Sender.handleProduceResponse(Sender.java:286)
> 	at org.apache.kafka.clients.producer.internals.Sender.access$100(Sender.java:57)
> 	at org.apache.kafka.clients.producer.internals.Sender$1.onComplete(Sender.java:372)
> 	at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:282)
> 	at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:241)
> 	at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:136)
> 	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message