[
https://issues.apache.org/jira/browse/ZOOKEEPER-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Norbert Kalmár updated ZOOKEEPER-3633:
--------------------------------------
Fix Version/s: 3.5.7
> AdminServer commands throw NPE when only secure client port is used
> -------------------------------------------------------------------
>
> Key: ZOOKEEPER-3633
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3633
> Project: ZooKeeper
> Issue Type: Bug
> Affects Versions: 3.5.5, 3.5.6
> Reporter: Mate Szalay-Beko
> Assignee: Mate Szalay-Beko
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.6.0, 3.5.7
>
> Attachments: npe.txt
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> *thanks for Mike Smotritsky for reporting this bug!*
> when only secureClientPort is defined in the config and there is no regular
> clientPort, then both the {{stat}} and the {{conf}} commands result in 500
> Server Error caused by NullPointerExceptions. The problem is that no
> {{serverCnxFactory}} is defined in the {{ZooKeeperServer}} in this case, we
> have only {{secureServerCnxnFactory}}.
> see the attached stacktraces about the exceptions (reproduced on the current
> master branch)
> The stat and conf admin commands should actually provide info about both
> secure and unsecure connections, and should handle the case when any of these
> are missing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)