#102 fixed NPE in XmlReportWriter