hudson.util.IOException2

Failed to read /data/hudson/.hudson/jobs/My Project/workspace/My Project/target/test-reports/TEST-my.project.MyTest.xml

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1594

  • Failed to read /data/hudson/.hudson/jobs/My Project/workspace/My Project/target/test-reports/TEST-my.project.MyTest.xml
  • via SonarSource JIRA by Simon Brandhof, 1 year ago
    Failed to read E:\hudson\jobs\struts2\workspace\trunk\core\target\surefire-reports\TEST-org.apache.struts2.RequestUtilsTest.xml
  • via Jenkins JIRA by walles, 1 year ago
    Failed to read d:\hudson\jobs\confluencemacro-plugin\workspace\enginfra\main\confluencemacro-plugin\target\surefire-reports\TEST-com.oracle.jrockit.confluence.plugins.GateKeeperMacroTest.xml
  • Stack trace

    • hudson.util.IOException2: Failed to read /data/hudson/.hudson/jobs/My Project/workspace/My Project/target/test-reports/TEST-my.project.MyTest.xml at hudson.util.IOException2.<init>(IOException2.java:36) at hudson.tasks.junit.TestResult.parse(TestResult.java:187) at hudson.tasks.junit.TestResult.parse(TestResult.java:141) at hudson.tasks.junit.TestResult.<init>(TestResult.java:104) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:111) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:83) at hudson.FilePath.act(FilePath.java:791) at hudson.FilePath.act(FilePath.java:773) at hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:79) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:125) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:137) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:34) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:646) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:624) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:600) at hudson.model.Build$RunnerImpl.post2(Build.java:163) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:566) at hudson.model.Run.run(Run.java:1414) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:40) at hudson.model.ResourceController.execute(ResourceController.java:82) at hudson.model.Executor.run(Executor.java:137) Caused by: org.dom4j.DocumentException: Error on line 161 of document file:///data/hudson/.hudson/jobs/My%20Project/workspace/My%20Project/target/test-reports/TEST-my.project.MyTest.xml : Content is not allowed in trailing section. Nested exception: Content is not allowed in trailing section. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.io.SAXReader.read(SAXReader.java:264) at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:88) ... 20 more Caused by: org.xml.sax.SAXParseException: Content is not allowed in trailing section. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.dom4j.io.SAXReader.read(SAXReader.java:465) ... 22 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 5 months ago
    5 times, 6 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    49 more bugmates