You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2012/08/16 18:59:38 UTC

[jira] [Commented] (KAFKA-464) KafkaController NPE in SessionExpireListener

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

Jun Rao commented on KAFKA-464:
-------------------------------

Also, instead of testing controllerChannelManager is null, can we use isActive()?
                
> KafkaController NPE in SessionExpireListener
> --------------------------------------------
>
>                 Key: KAFKA-464
>                 URL: https://issues.apache.org/jira/browse/KAFKA-464
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Jun Rao
>              Labels: bugs
>             Fix For: 0.8
>
>         Attachments: kafka_464.diff
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> Sometime see the following in LogRecoverTest.
> [2012-08-15 09:06:01,845] ERROR Error handling event ZkEvent[New session event sent to kafka.server.KafkaController$SessionExpireListener@e8ae59a] (org.I0Itec.zkclient.ZkEventThread)
> java.lang.NullPointerException
> 	at kafka.server.KafkaController$SessionExpireListener.handleNewSession(KafkaController.scala:284)
> 	at org.I0Itec.zkclient.ZkClient$4.run(ZkClient.java:472)
> 	at org.I0Itec.zkclient.ZkEventThread.run(ZkEventThread.java:71)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira