fix NPE in ReportingUtils

relates #148