Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23531

MSTest Plugin - MSTestPublisher aborted due to exception : Getting an error because "&# could not be transformed

XMLWordPrintable

      Hello,

      I'm getting an the following errors, because "&# couldn't be transformed - this characters occur when JustMock writes certain exceptions,
      could there be a way not to abort the build when this happens?

      thanks a lot!

      Processing tests results in file(s) Test\TestResults\testResults.trx
       Test\TestResults\testResults.trx
      ERROR: Publisher hudson.plugins.mstest.MSTestPublisher aborted due to exception
      java.io.IOException: remote file operation failed: c:\jenkins\workspace\Build - Tests at hudson.remoting.Channel@69bf0fd8:build3
      	at hudson.FilePath.act(FilePath.java:916)
      	at hudson.FilePath.act(FilePath.java:893)
      	at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:73)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:709)
      	at hudson.model.Build$BuildExecution.post2(Build.java:182)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:658)
      	at hudson.model.Run.execute(Run.java:1735)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:231)
      Caused by: hudson.util.IOException2: Could not transform the MSTest report. Please report this issue to the plugin author
      	at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:66)
      	at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:28)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2474)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:328)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at hudson.remoting.Engine$1$1.run(Engine.java:63)
      	at java.lang.Thread.run(Unknown Source)
      Caused by: javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Character reference "&#
      	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
      	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown Source)
      	at hudson.plugins.mstest.MSTestReportConverter.transform(MSTestReportConverter.java:63)
      	at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:64)
      	... 12 more
      Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Character reference "&#
      	at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(Unknown Source)
      	... 16 more
      Caused by: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Character reference "&#
      	at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(Unknown Source)
      	at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(Unknown Source)
      	... 17 more
      

            nilleb Ivo Bellin Salarin
            knpe Peter Stefan Knittl-Frank
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: