You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "maoling (Jira)" <ji...@apache.org> on 2020/12/02 10:59:00 UTC

[jira] [Updated] (HBASE-25332) one NPE

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

maoling updated HBASE-25332:
----------------------------
    Component/s: Zookeeper

> one NPE
> -------
>
>                 Key: HBASE-25332
>                 URL: https://issues.apache.org/jira/browse/HBASE-25332
>             Project: HBase
>          Issue Type: Bug
>          Components: Zookeeper
>            Reporter: lujie
>            Assignee: lujie
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.4.0, 2.2.7, 2.3.4
>
>
> * getData can return null atĀ 
>  [https://github.com/apache/hbase/blob/1726160839368df14602da1618e3538955b25f74/hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java#L615]
>  or
>  [https://github.com/apache/hbase/blob/1726160839368df14602da1618e3538955b25f74/hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java#L619]
>  all its caller have null checker except at
>  [https://github.com/apache/hbase/blob/1726160839368df14602da1618e3538955b25f74/hbase-server/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java#L467]
> We shoud add null check forĀ pontential NPEs.



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