Fixed a possible NPE in TestXmlDisplayer when parsing an invalid output xml.