java.io.IOException: Could not transform the NUnit report. Please report this issue to the plugin author

Google Groups | vija...@gmail.com (JIRA) | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [JIRA] (JENKINS-37879) Jenkins NUnit plugin 0.18 gives an error while reading nunit result xml file

    Google Groups | 7 months ago | vija...@gmail.com (JIRA)
    java.io.IOException: Could not transform the NUnit report. Please report this issue to the plugin author
  2. 0

    When the Nunit plugin tries to read the test result xml file, it gives the below error. Results (nunit3) saved as TestResult.xml Recording NUnit tests results ERROR: Step ‘Publish NUnit test result report’ aborted due to exception: java.io.IOException: Could not transform the NUnit report. Please report this issue to the plugin author at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:71) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:29) at hudson.FilePath.act(FilePath.java:1018) at hudson.FilePath.act(FilePath.java:996) at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:153) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: org.xml.sax.SAXParseException; systemId: file:/C:/Users/2554/.jenkins/workspace/TestProject/temporary-junit-reports/temp-junit.xml; lineNumber: 2; columnNumber: 3; Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at hudson.plugins.nunit.NUnitReportTransformer.splitJUnitFile(NUnitReportTransformer.java:102) at hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:72) at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:66) ... 13 more Finished: FAILURE

    Jenkins JIRA | 7 months ago | vijay nag
    java.io.IOException: Could not transform the NUnit report. Please report this issue to the plugin author

    Root Cause Analysis

    1. java.io.IOException

      Could not transform the NUnit report. Please report this issue to the plugin author

      at hudson.plugins.nunit.NUnitArchiver.invoke()
    2. hudson.plugins.nunit
      NUnitArchiver.invoke
      1. hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:71)
      2. hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:29)
      2 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:1018)
      2. hudson.FilePath.act(FilePath.java:996)
      2 frames
    4. hudson.plugins.nunit
      NUnitPublisher.perform
      1. hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:153)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      4. hudson.model.Build$BuildExecution.post2(Build.java:185)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      6. hudson.model.Run.execute(Run.java:1766)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:410)
      9 frames