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

Ray Mattingly resolved HBASE-29186.
-----------------------------------
    Resolution: Fixed

> RegionPlanConditionals can produce a null pointer
> -------------------------------------------------
>
>                 Key: HBASE-29186
>                 URL: https://issues.apache.org/jira/browse/HBASE-29186
>             Project: HBase
>          Issue Type: Bug
>          Components: Balancer
>    Affects Versions: 2.7.0
>            Reporter: Ray Mattingly
>            Assignee: Ray Mattingly
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1, 2.7.0, 3.0.0-beta-2
>
>
> The value of this lookup can be null, and we can't pass a null value to 
> Arrays#stream:
> {noformat}
> java.lang.NullPointerException: Cannot read the array length because "array" 
> is null
>   at java.util.Arrays.stream(Arrays.java:5559) ~[?:?]
>   at 
> org.apache.hadoop.hbase.master.balancer.RegionPlanConditional.isViolating(RegionPlanConditional.java:103)
>  ~[hbase-server-2.6-hubspot-SNAPSHOT.jar:2.6-hubspot-SNAPSHOT]{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to