kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mudit Garg (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-5963) Null Pointer Exception on server
Date Fri, 22 Sep 2017 12:25:00 GMT
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)

Mime
View raw message