You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Andrew Olson (JIRA)" <ji...@apache.org> on 2013/10/10 22:09:44 UTC

[jira] [Commented] (KAFKA-417) NullPointerException in ZookeeperConsumerConnector

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

Andrew Olson commented on KAFKA-417:
------------------------------------

We see this NPE logged numerous times when running our Kafka integration tests. We're using 0.8.0-beta1.

{code}
2013-10-10 14:13:08,601 [testKafkaNotification_ipfacecobld14.northamerica.net-1381432385832-593508da_watcher_executor] ERROR kafka.consumer.ZookeeperConsumerConnector - [testKafkaNotification_ipfacecobld14.northamerica.net-1381432385832-593508da], error during syncedRebalance
java.lang.NullPointerException
	at kafka.utils.ZkUtils$.getChildrenParentMayNotExist(ZkUtils.scala:433)
	at kafka.utils.ZkUtils$.getCluster(ZkUtils.scala:451)
	at kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener$$anonfun$syncedRebalance$1.apply$mcVI$sp(ZookeeperConsumerConnector.scala:372)
	at scala.collection.immutable.Range$ByOne$class.foreach$mVc$sp(Range.scala:282)
	at scala.collection.immutable.Range$$anon$2.foreach$mVc$sp(Range.scala:265)
	at kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener.syncedRebalance(ZookeeperConsumerConnector.scala:369)
	at kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener$$anon$1.run(ZookeeperConsumerConnector.scala:326)
{code}

> NullPointerException in ZookeeperConsumerConnector
> --------------------------------------------------
>
>                 Key: KAFKA-417
>                 URL: https://issues.apache.org/jira/browse/KAFKA-417
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Neha Narkhede
>            Assignee: Jun Rao
>
> [info] == kafka.integration.LazyInitProducerTest ==
> [info] Test Starting: testProduceAndMultiFetch(kafka.integration.LazyInitProducerTest)
> [2012-07-25 11:50:26,394] ERROR group1_consumer2 error during syncedRebalance (kafka.consumer.ZookeeperConsumerConnector:99)
> java.lang.NullPointerException
>         at kafka.utils.ZkUtils$.getChildrenParentMayNotExist(ZkUtils.scala:371)
>         at kafka.utils.ZkUtils$.getCluster(ZkUtils.scala:389)
>         at kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener$$anonfun$syncedRebalance$1.apply$mcVI$sp(ZookeeperConsumerConnector.scala
> :444)
>         at scala.collection.immutable.Range$ByOne$class.foreach$mVc$sp(Range.scala:282)
>         at scala.collection.immutable.Range$$anon$2.foreach$mVc$sp(Range.scala:265)
>         at kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener.syncedRebalance(ZookeeperConsumerConnector.scala:441)
>         at kafka.consumer.ZookeeperConsumerConnector$ZKRebalancerListener$$anon$1.run(ZookeeperConsumerConnector.scala:398)



--
This message was sent by Atlassian JIRA
(v6.1#6144)