[ https://issues.apache.org/jira/browse/ZOOKEEPER-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14969466#comment-14969466 ]
Rakesh R commented on ZOOKEEPER-2299: ------------------------------------- bq. Can I raise separate ticket to add SecureClientAddress and SecureClientPort jmx property? Yeah, Agreed for {{SecureClientPort}} jmx property. I think address is not required as it will be same, right? > 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)