[
https://issues.apache.org/jira/browse/ZOOKEEPER-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969507#comment-14969507
]
Edward Ribeiro commented on ZOOKEEPER-2299:
-------------------------------------------
Hi [~arshad.mohammad], very nice patch, again. :) My only suggestion would be
to use a more meaningful name for unit tests.
> NullPointerException in LocalPeerBean for ClientAddress
> -------------------------------------------------------
>
> Key: ZOOKEEPER-2299
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2299
> Project: ZooKeeper
> Issue Type: Bug
> Components: jmx
> Reporter: Arshad Mohammad
> Assignee: Arshad Mohammad
> Fix For: 3.5.2
>
> Attachments: ZOOKEEPER-2299-01.patch
>
>
> When clientPortAddress is not configured LocalPeerBean throws
> NullPointerException.
> *Expected Behavior:*
> # When only clientPort is configured ClientAddress value should be
> 0.0.0.0:clientPort or 0:0:0:0:0:0:0:0:clientPort
> # When both clientPort clientPortAddress are configured then expected value
> is clientPortAddress:clientPort
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)