[ 
https://issues.jenkins-ci.org/browse/JENKINS-9091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162038#comment-162038
 ] 

Carlos Focker commented on JENKINS-9091:
----------------------------------------

I also had this issue but it was a result of pointing to a non nunit results 
xml file
                
> NUnit plugin chokes on report xml
> ---------------------------------
>
>                 Key: JENKINS-9091
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-9091
>             Project: Jenkins
>          Issue Type: Bug
>          Components: nunit
>    Affects Versions: current
>         Environment: NUnit 2.5.7.10213
> Jenkins 1.401
> NUnit Plugin version 0.13
>            Reporter: Glenn Goodrich
>            Assignee: Rahul Shelar
>         Attachments: TestResult.xml
>
>
> NUnit plugin chokes on the report xml with the following error:
> ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception
> hudson.util.IOException2: Could not transform the NUnit report. Please report 
> this issue to the plugin author
>       at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:60)
>       at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:26)
>       at hudson.FilePath.act(FilePath.java:757)
>       at hudson.FilePath.act(FilePath.java:739)
>       at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:102)
>       at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:623)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601)
>       at hudson.model.Build$RunnerImpl.post2(Build.java:159)
>       at 
> hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:570)
>       at hudson.model.Run.run(Run.java:1386)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
>       at hudson.model.ResourceController.execute(ResourceController.java:88)
>       at hudson.model.Executor.run(Executor.java:145)
> Caused by: org.xml.sax.SAXParseException: 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:100)
>       at 
> hudson.plugins.nunit.NUnitReportTransformer.transform(NUnitReportTransformer.java:71)
>       at hudson.plugins.nunit.NUnitArchiver.invoke(NUnitArchiver.java:55)
>       ... 14 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to