[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-3916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pengfei Yan updated ZOOKEEPER-3916:
-----------------------------------
    Attachment: NIOServerCnxnFactory.java

> check whether  zookeeperServer is null or not before being used 
> ----------------------------------------------------------------
>
>                 Key: ZOOKEEPER-3916
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3916
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Pengfei Yan
>            Priority: Major
>         Attachments: NIOServerCnxnFactory.java, NIOServerCnxnFactory.java
>
>          Time Spent: 4h 10m
>  Remaining Estimate: 0h
>
> If the zookeeperServer object is null, then the client can't make connections 
> with servers because the Leader Voting stage is working. After checking the 
> Object we can avoid null pointer exception and give the IOException and close 
> connections.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to