[
https://issues.apache.org/jira/browse/ZOOKEEPER-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14736781#comment-14736781
]
Arshad Mohammad commented on ZOOKEEPER-2269:
--------------------------------------------
When client port is not configured in dynamic configuration part(this is valid
configuration), zookeeper server does not know the client port/address of other
servers. This situation should be handled gracefully.
We can return empty string.
> NullPointerException in RemotePeerBean
> ---------------------------------------
>
> Key: ZOOKEEPER-2269
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2269
> Project: ZooKeeper
> Issue Type: Bug
> Components: jmx
> Affects Versions: 3.5.0
> Reporter: Arshad Mohammad
> Assignee: Arshad Mohammad
> Fix For: 3.5.2
>
>
> {code}org.apache.zookeeper.server.quorum.RemotePeerBean.getClientAddress(){code}
> throws NullPointerException when clientPort is not part of dynamic
> configuration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)