You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Mudit Garg (JIRA)" <ji...@apache.org> on 2017/09/22 12:25:00 UTC

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

Mudit Garg created KAFKA-5963:
---------------------------------

             Summary: Null Pointer Exception on server
                 Key: KAFKA-5963
                 URL: https://issues.apache.org/jira/browse/KAFKA-5963
             Project: Kafka
          Issue Type: Bug
            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)