You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2017/10/28 15:40:00 UTC

[jira] [Resolved] (KAFKA-5963) Null Pointer Exception on server

     [ https://issues.apache.org/jira/browse/KAFKA-5963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ismael Juma resolved KAFKA-5963.
--------------------------------
    Resolution: Auto Closed

Thanks for the JIRA. Kafka 0.8.x is no longer supported and the issue has most likely been fixed since then. The Selector code has received a large number of fixes in the last 2+ years.

> Null Pointer Exception on server
> --------------------------------
>
>                 Key: KAFKA-5963
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5963
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.1.1
>            Reporter: Mudit Garg
>
> I am using Kafka 0.8.1.1. I am sending the logs to Kafka Streams. 
> Initially, everything works fine but after some time when the server is idle and no logs are produced, we get *Null Pointer Exception on the server* and *nothing gets pushed into Kafka*.
> Following is the stack trace :
> java.lang.NullPointerException
> 	at org.apache.kafka.common.network.Selector.poll(Selector.java:187)
> 	at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:154)
> 	at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:101)
> 	at java.lang.Thread.run(Thread.java:745)
> I checked the code at https://github.com/apache/kafka/blob/0.8.1.1/clients/src/main/java/org/apache/kafka/common/network/Selector.java#L187
> Looks like transmissions object is null. 



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