add null check in handleCollectorNodeFail