[ https://issues.apache.org/jira/browse/ZOOKEEPER-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16611321#comment-16611321 ]
Michael Han commented on ZOOKEEPER-2261: ---------------------------------------- I cherry picked the commit to 3.5 just now ([https://github.com/apache/zookeeper/commit/14d0aaab853d535be268a1d7a234c9c47bf4cd25).] > When only secureClientPort is configured connections, configuration, > connection_stat_reset, and stats admin commands throw NullPointerException > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: ZOOKEEPER-2261 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2261 > Project: ZooKeeper > Issue Type: Bug > Affects Versions: 3.5.0 > Reporter: Mohammad Arshad > Assignee: Andor Molnar > Priority: Major > Labels: pull-request-available > Fix For: 3.6.0 > > Time Spent: 4.5h > Remaining Estimate: 0h > > When only secureClientPort is configured connections, configuration, > connection_stat_reset and stats admin commands throw NullPointerException. > Here is stack trace one of the connections command. > {code} > java.lang.NullPointerException > at > org.apache.zookeeper.server.admin.Commands$ConsCommand.run(Commands.java:177) > at > org.apache.zookeeper.server.admin.Commands.runCommand(Commands.java:92) > at > org.apache.zookeeper.server.admin.JettyAdminServer$CommandServlet.doGet(JettyAdminServer.java:166) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)