[ 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 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 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 i 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 > > 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 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)