java.io.IOException: No parser found for duplicated code results file /hudson/workspaces/Myproject/cpd.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:42)

Jenkins JIRA | sberlotto | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.io.IOException: No parser found for duplicated code results file /hudson/workspaces/Myproject/cpd.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:42) at hudson.plugins.dry.util.FilesParser.parseFile(FilesParser.java:146) at hudson.plugins.dry.util.FilesParser.parseFiles(FilesParser.java:125) at hudson.plugins.dry.util.FilesParser.invoke(FilesParser.java:81) at hudson.plugins.dry.util.FilesParser.invoke(FilesParser.java:22) at hudson.FilePath.act(FilePath.java:649) at hudson.FilePath.act(FilePath.java:633) at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:99) at hudson.plugins.dry.util.HealthAwarePublisher.perform(HealthAwarePublisher.java:136) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:379) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:367) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:352) at hudson.model.Run.run(Run.java:958) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118) I´ve created cpd.xml equals to this example: http://pmd.sourceforge.net/cpd.html The file cpd.xml existis. And path is ok.

    Jenkins JIRA | 8 years ago | sberlotto
    java.io.IOException: No parser found for duplicated code results file /hudson/workspaces/Myproject/cpd.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:42)
  2. 0

    java.io.IOException: No parser found for duplicated code results file /hudson/workspaces/Myproject/cpd.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:42) at hudson.plugins.dry.util.FilesParser.parseFile(FilesParser.java:146) at hudson.plugins.dry.util.FilesParser.parseFiles(FilesParser.java:125) at hudson.plugins.dry.util.FilesParser.invoke(FilesParser.java:81) at hudson.plugins.dry.util.FilesParser.invoke(FilesParser.java:22) at hudson.FilePath.act(FilePath.java:649) at hudson.FilePath.act(FilePath.java:633) at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:99) at hudson.plugins.dry.util.HealthAwarePublisher.perform(HealthAwarePublisher.java:136) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:379) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:367) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:352) at hudson.model.Run.run(Run.java:958) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:118) I´ve created cpd.xml equals to this example: http://pmd.sourceforge.net/cpd.html The file cpd.xml existis. And path is ok.

    Jenkins JIRA | 8 years ago | sberlotto
    java.io.IOException: No parser found for duplicated code results file /hudson/workspaces/Myproject/cpd.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:42)

    Root Cause Analysis

    1. java.io.IOException

      No parser found for duplicated code results file /hudson/workspaces/Myproject/cpd.xml at hudson.plugins.dry.parser.DuplicationParserRegistry.parse(DuplicationParserRegistry.java:42)

      at hudson.plugins.dry.util.FilesParser.parseFile()
    2. hudson.plugins.dry
      FilesParser.invoke
      1. hudson.plugins.dry.util.FilesParser.parseFile(FilesParser.java:146)
      2. hudson.plugins.dry.util.FilesParser.parseFiles(FilesParser.java:125)
      3. hudson.plugins.dry.util.FilesParser.invoke(FilesParser.java:81)
      4. hudson.plugins.dry.util.FilesParser.invoke(FilesParser.java:22)
      4 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:649)
      2. hudson.FilePath.act(FilePath.java:633)
      2 frames
    4. hudson.plugins.dry
      DryPublisher.perform
      1. hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:99)
      1 frame