-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Windows 2008 R2 - Jenkins ver. 1.596.2 - Java version "1.6.0_26"
An error is thrown while trying to import the .TRX file. It looks like the import should be "java/nio/charset/StandardCharset" rather then "java/nio/charset/StandardCharsets"?
ERROR: Publisher hudson.plugins.mstest.MSTestPublisher aborted due to exception
java.lang.NoClassDefFoundError: java/nio/charset/StandardCharsets
at hudson.plugins.mstest.ContentCorrector.fix(ContentCorrector.java:27)
at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:73)
at hudson.plugins.mstest.MSTestTransformer.invoke(MSTestTransformer.java:23)
at hudson.FilePath.act(FilePath.java:989)
at hudson.FilePath.act(FilePath.java:967)
at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:120)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
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:374)
Caused by: java.lang.ClassNotFoundException: java.nio.charset.StandardCharsets
at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375)
at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325)
at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 15 more