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

lujie updated ZOOKEEPER-3011:
-----------------------------
    Description: 
Inspired by ZK-3006 , I develop a simple static analysis tool to find other 
Potential NPE like ZK-3006.Due to that  i am a newbie here, some of them i am 
not sure whether they will truly cause NPE, anyway 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 them and help improve this tool

  was:
After ZK-3006 , I develop a simple static analysis tool to find other Potential 
NPE like ZK-3006.Due to that  i am a newbie here, some of them i am not sure 
whether they will truly cause NPE, anyway 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 them and help improve this tool


> 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
>
> Inspired by ZK-3006 , I develop a simple static analysis tool to find other 
> Potential NPE like ZK-3006.Due to that  i am a newbie here, some of them i am 
> not sure whether they will truly cause NPE, anyway 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 them and help improve this tool



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

Reply via email to