fix the NPE error when processing billing files with tags and resources while resource serivce is null.