You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "lujie (JIRA)" <ji...@apache.org> on 2018/03/26 08:19:00 UTC

[jira] [Updated] (ZOOKEEPER-3011) Some NPEs, maybe

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

lujie updated ZOOKEEPER-3011:
-----------------------------
    Description: 
After ZK-3006 , I develop a very simple static analysis tool to find other Potential NPE like ZK-3006.Due to i am a newbie here, some of them i am not sure whether it will truly cause NPE, but I still list them in here(format:caller,callee):
 # StaticHostProvider#updateServerList,StaticHostProvider#getServerAtCurrentIndex
 # DataTree#getACL,ReferenceCountedACLCache#convertLong
 # ConnectionBean#toString,ConnectionBean#getSourceIP
 # Leader#propose,SerializeUtils#serializeRequest

Hopefully someone can confirm it and help improve this tool

  was:
After ZK-3006 , I develop a very simple static analysis tool to find other Potential NPE like ZK-3006.Due to i am a newbie here, some of them i am not sure whether it will truly cause NPE, but I still list them in here(format:caller,callee):
 # StaticHostProvider#updateServerList,StaticHostProvider#getServerAtCurrentIndex
 # DataTree#getACL,ReferenceCountedACLCache#convertLong
 # ConnectionBean#toString,ConnectionBean#getSourceIP
 # Leader#propose,SerializeUtils#serializeRequest

Hopefully someone can confirm it 


> Some NPEs, maybe
> ----------------
>
>                 Key: ZOOKEEPER-3011
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3011
>             Project: ZooKeeper
>          Issue Type: Bug
>    Affects Versions: 3.6.0
>            Reporter: lujie
>            Priority: Major
>
> After ZK-3006 , I develop a very simple static analysis tool to find other Potential NPE like ZK-3006.Due to i am a newbie here, some of them i am not sure whether it will truly cause NPE, but I still list them in here(format:caller,callee):
>  # StaticHostProvider#updateServerList,StaticHostProvider#getServerAtCurrentIndex
>  # DataTree#getACL,ReferenceCountedACLCache#convertLong
>  # ConnectionBean#toString,ConnectionBean#getSourceIP
>  # Leader#propose,SerializeUtils#serializeRequest
> Hopefully someone can confirm it and help improve this tool



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)