java.io.IOException

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.

  • CPD is looking at .sh files and DRY's processing of the CPD results blew up. Looking at CPDs XML Renderer, it attempts to escape anything that would prematurely end the CDATA buffer.append(StringUtil.replaceString(codeFragment, "]]>", "]]&gt;")).append(PMD.EOL + "]]>" + PMD.EOL + "</codefragment>" + PMD. EOL); Is it possible that DRY is choking in its attempt to process the contents of the CDATA block. the codefragments have hundreds of \ >> > # && >& that could confuse XML if not all escaped! 21:57:45 java.io.IOException: No parser found for duplicated code results file cpd-sh.xml 21:57:45 at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:80) 21:57:45 at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:358) 21:57:45 at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:317) 21:57:45 at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:266) 21:57:45 at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31) 21:57:45 at hudson.FilePath.act(FilePath.java:783) 21:57:45 at hudson.FilePath.act(FilePath.java:765) 21:57:45 at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:171) 21:57:45 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:338) 21:57:45 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 21:57:45 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695) 21:57:45 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:670) 21:57:45 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:648) 21:57:45 at hudson.model.Build$RunnerImpl.post2(Build.java:162) 21:57:45 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:617) 21:57:45 at hudson.model.Run.run(Run.java:1429) 21:57:45 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 21:57:45 at hudson.model.ResourceController.execute(ResourceController.java:88) 21:57:45 at hudson.model.Executor.run(Executor.java:238)
    via by Greg Moncreaff,
  • CPD is looking at .sh files and DRY's processing of the CPD results blew up. Looking at CPDs XML Renderer, it attempts to escape anything that would prematurely end the CDATA buffer.append(StringUtil.replaceString(codeFragment, "]]>", "]]&gt;")).append(PMD.EOL + "]]>" + PMD.EOL + "</codefragment>" + PMD. EOL); Is it possible that DRY is choking in its attempt to process the contents of the CDATA block. the codefragments have hundreds of \ >> > # && >& that could confuse XML if not all escaped! 21:57:45 java.io.IOException: No parser found for duplicated code results file cpd-sh.xml 21:57:45 at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:80) 21:57:45 at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:358) 21:57:45 at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:317) 21:57:45 at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:266) 21:57:45 at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31) 21:57:45 at hudson.FilePath.act(FilePath.java:783) 21:57:45 at hudson.FilePath.act(FilePath.java:765) 21:57:45 at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:171) 21:57:45 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:338) 21:57:45 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 21:57:45 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695) 21:57:45 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:670) 21:57:45 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:648) 21:57:45 at hudson.model.Build$RunnerImpl.post2(Build.java:162) 21:57:45 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:617) 21:57:45 at hudson.model.Run.run(Run.java:1429) 21:57:45 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 21:57:45 at hudson.model.ResourceController.execute(ResourceController.java:88) 21:57:45 at hudson.model.Executor.run(Executor.java:238)
    via by Greg Moncreaff,
  • when PMD plugin try's to read the pmd outputfile, it throws an io exception: [DRY] Collecting duplicate code analysis files... [DRY] Parsing of file /var/lib/hudson/jobs/Kidscalcula/workspace/KidsCalcula/pmd_report.xml failed due to an exception: java.io.IOException: No parser found for duplicated code results file /var/lib/hudson/jobs/Kidscalcula/workspace/KidsCalcula/pmd_report.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:44) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:152) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:131) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:87) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:28) at hudson.FilePath.act(FilePath.java:747) at hudson.FilePath.act(FilePath.java:729) at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:100) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:155) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550) at hudson.model.Build$RunnerImpl.post2(Build.java:152) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1266) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122)
    via by bramjam,
  • when PMD plugin try's to read the pmd outputfile, it throws an io exception: [DRY] Collecting duplicate code analysis files... [DRY] Parsing of file /var/lib/hudson/jobs/Kidscalcula/workspace/KidsCalcula/pmd_report.xml failed due to an exception: java.io.IOException: No parser found for duplicated code results file /var/lib/hudson/jobs/Kidscalcula/workspace/KidsCalcula/pmd_report.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:44) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:152) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:131) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:87) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:28) at hudson.FilePath.act(FilePath.java:747) at hudson.FilePath.act(FilePath.java:729) at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:100) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:155) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550) at hudson.model.Build$RunnerImpl.post2(Build.java:152) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1266) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122)
    via by bramjam,
  • trying to parse a simian xml log report with latest jenkins/DRY copy paste detector. the output is the following : [DRY] Parsing of file C:\JenkinsTFS\simian.xml failed due to an exception: java.io.IOException: No parser found for duplicated code results file C:\JenkinsTFS\simian.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:102) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:306) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:264) at hudson.plugins.analysis.core.FilesParser.parserCollectionOfFiles(FilesParser.java:215) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:184) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31) at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:878) at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:175) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:146) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:331) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1618) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:242)
    via by pernes olivier,
  • Installing and Securing Jenkins
    via by Unknown author,
  • Installing and Securing Jenkins — SitePoint
    via by Unknown author,
  • trying to parse a simian xml log report with latest jenkins/DRY copy paste detector. the output is the following : [DRY] Parsing of file C:\JenkinsTFS\simian.xml failed due to an exception: java.io.IOException: No parser found for duplicated code results file C:\JenkinsTFS\simian.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:102) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:306) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:264) at hudson.plugins.analysis.core.FilesParser.parserCollectionOfFiles(FilesParser.java:215) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:184) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31) at hudson.FilePath.act(FilePath.java:905) at hudson.FilePath.act(FilePath.java:878) at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:175) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:146) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:331) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1618) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:242)
    via by pernes olivier,
    • java.io.IOException: No parser found for duplicated code results file cpd-sh.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:80) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:358) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:317) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:266) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31) at hudson.FilePath.act(FilePath.java:783) at hudson.FilePath.act(FilePath.java:765) at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:171) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:338) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:695) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:670) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:648) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:617) 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)
    No Bugmate found.