Affects Version/s: None
Fix Version/s: None
We have developed a static analysis tool NPEDetector to find some potential NPE. Our analysis shows that some callees may return null in corner case(e.g. node crash , IO exception), some of their callers have !=null check but some do not have. In this issue we post a patch which can add !=null based on existed !=null check. For example:
Caller AutoRebalancer#computeNewIdealState have !=null:
but another caller DelayedAutoRebalancer#computeNewIdealState does not have !=null check:
So we will add below code in non-(!=null) caller DelayedAutoRebalancer#computeNewIdealState
But due to we are not very familiar with HELIX, hope some expert can review it.