hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I am building a C++ project using Jenkins (Jenkins v1.442 / xUnit v1.29) My C++ project has some unit tests, set up using boost::test (v1.45) I run my test program using options : "--output_format=XML --log_level=all --report_level=no" xUnit fails to parse my XML test result file (cf. attached). Here is the stacktrace : Warning: at xsl:stylesheet on line 4 Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor java.lang.ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to net.sf.saxon.om.DocumentInfo at net.sf.saxon.Configuration.buildDocument(Configuration.java:2760) at net.sf.saxon.s9api.DocumentBuilder.build(DocumentBuilder.java:287) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:339) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:177) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:194) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:202) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionServ ice.java:124) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:82) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:135) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37) at hudson.FilePath.act(FilePath.java:783) at hudson.FilePath.act(FilePath.java:765) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:171) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) 7 dÚc. 2011 17:24:33 hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps ATTENTION: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:164) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37) at hudson.FilePath.act(FilePath.java:783) at hudson.FilePath.act(FilePath.java:765) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:171) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.lang.ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to net.sf.saxon.om.Documen tInfo at net.sf.saxon.Configuration.buildDocument(Configuration.java:2760) at net.sf.saxon.s9api.DocumentBuilder.build(DocumentBuilder.java:287) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:339) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:177) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:194) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:202) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionServ ice.java:124) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:82) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:135) ... 16 more
    via by toto tata,
  • I am building a C++ project using Jenkins (Jenkins v1.442 / xUnit v1.29) My C++ project has some unit tests, set up using boost::test (v1.45) I run my test program using options : "--output_format=XML --log_level=all --report_level=no" xUnit fails to parse my XML test result file (cf. attached). Here is the stacktrace : Warning: at xsl:stylesheet on line 4 Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor java.lang.ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to net.sf.saxon.om.DocumentInfo at net.sf.saxon.Configuration.buildDocument(Configuration.java:2760) at net.sf.saxon.s9api.DocumentBuilder.build(DocumentBuilder.java:287) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:339) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:177) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:194) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:202) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionServ ice.java:124) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:82) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:135) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37) at hudson.FilePath.act(FilePath.java:783) at hudson.FilePath.act(FilePath.java:765) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:171) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) 7 dÚc. 2011 17:24:33 hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps ATTENTION: Publisher com.thalesgroup.hudson.plugins.xunit.XUnitPublisher aborted due to exception hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:164) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37) at hudson.FilePath.act(FilePath.java:783) at hudson.FilePath.act(FilePath.java:765) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:171) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.lang.ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to net.sf.saxon.om.Documen tInfo at net.sf.saxon.Configuration.buildDocument(Configuration.java:2760) at net.sf.saxon.s9api.DocumentBuilder.build(DocumentBuilder.java:287) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:339) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:177) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:194) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:202) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionServ ice.java:124) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:82) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:135) ... 16 more
    via by toto tata,
    • hudson.util.IOException2: There are some problems during the conversion into JUnit reports: at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:164) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:37) at hudson.FilePath.act(FilePath.java:783) at hudson.FilePath.act(FilePath.java:765) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:171) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124) at com.thalesgroup.hudson.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.lang.ClassCastException: net.sf.saxon.tinytree.TinyElementImpl cannot be cast to net.sf.saxon.om.Documen tInfo at net.sf.saxon.Configuration.buildDocument(Configuration.java:2760) at net.sf.saxon.s9api.DocumentBuilder.build(DocumentBuilder.java:287) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:339) at com.thalesgroup.dtkit.util.converter.ConversionService.convert(ConversionService.java:177) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:194) at com.thalesgroup.dtkit.metrics.model.InputMetricXSL.convert(InputMetricXSL.java:202) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convertInputMetricXSL(XUnitConversionService.java:124) at com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService.convert(XUnitConversionService.java:82) at com.thalesgroup.hudson.plugins.xunit.service.XUnitTransformer.invoke(XUnitTransformer.java:135) ... 16 more
    No Bugmate found.