Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
3.2
-
None
-
Severity 2 - Major
-
Description
For instance, MSTest create test result files with "" and Bamboo reports the following exception:
2011-09-20 15:26:49,337 ERROR [pool-7-thread-1] [MSTestXmlTestResultsParser] Failed to parse xml test results. File was null. org.dom4j.DocumentException: Error on line 671 of document : Character reference "" is an invalid XML character. Nested exception: Character reference "" is an invalid XML character. at org.dom4j.io.SAXReader.read(SAXReader.java:355) at org.dom4j.io.SAXReader.read(SAXReader.java:261) at com.atlassian.bamboo.plugin.dotnet.tests.mstest.MSTestXmlTestResultsParser.parse(MSTestXmlTestResultsParser.java:58) at com.atlassian.bamboo.plugin.dotnet.tests.AbstractDotNetTestReportCollector.collect(AbstractDotNetTestReportCollector.java:41) at com.atlassian.bamboo.build.test.TestCollationServiceImpl$1$1.run(TestCollationServiceImpl.java:72) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
If the character is invalid, Bamboo should be able to just skip it.