[ https://issues.apache.org/jira/browse/KAFKA-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860804#comment-13860804 ]
Guozhang Wang commented on KAFKA-1198: -------------------------------------- I tried the following with the current trunk HEAD and did not hit the Exception: 1. start ZK 2. start one broker 3. bin/kafka-topics.sh --zookeeper localhost:2181 --describe returns empty. 4. create a topic 5. bin/kafka-topics.sh --zookeeper localhost:2181 --list returns the topic 6. bin/kafka-topics.sh --zookeeper localhost:2181 --describe returns the description of the topic. > NullPointerException in describe topic > -------------------------------------- > > Key: KAFKA-1198 > URL: https://issues.apache.org/jira/browse/KAFKA-1198 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.8.1 > Reporter: Jun Rao > > If topic is not specified, we get the following. > bin/kafka-topics.sh --zookeeper localhost:2181 --describe > (Error while executing topic command,java.lang.NullPointerException) > Also, list topic seems to always list all topics even when topics are > specified. -- This message was sent by Atlassian JIRA (v6.1.5#6160)