bug fix in JAServiceTracker: references is null when there are no references