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

Bo Wang edited comment on KAFKA-4966 at 3/29/17 2:06 AM:
---------------------------------------------------------

Hi, Ismael Juma. I used the 0.10.0.1 version and merged some other issues 
patches, and I found that the code have the problem, and the trunk is still the 
same, so I list the two versions.


was (Author: wangbo23):
Hi, Ismael Juma. I used the 0.10.0.1 version and merged some other issues 
patches, and I found that the code have the problem, and the trunk is still the 
same, so I list the two version.

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

Reply via email to