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

PMD Plugins Fails parsing loose.dtd

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • pmd-plugin
    • Windows 7 Premium, JDK 6(lastest update)

      When running the pmd plugin as a action post build the pluging fails parsing the pmd report output with the following error message:

      org.xml.sax.SAXParseException; systemId: http://www.w3.org/TR/html4/loose.dtd; lineNumber: 31; columnNumber: 3; La declaraciĆ³n para la entidad "HTML.Version" debe finalizar en '>'.
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at org.apache.commons.digester3.Digester.parse(Digester.java:1642)
      at org.apache.commons.digester3.Digester.parse(Digester.java:1701)
      at hudson.plugins.pmd.parser.PmdParser.parse(PmdParser.java:70)
      at hudson.plugins.analysis.core.AbstractAnnotationParser.parse(AbstractAnnotationParser.java:53)
      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:909)
      at hudson.FilePath.act(FilePath.java:882)
      at hudson.plugins.pmd.PmdPublisher.perform(PmdPublisher.java:139)
      at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144)
      at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707)
      at hudson.model.Run.execute(Run.java:1629)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:246)

      The text "La declaraciĆ³n para la entidad "HTML.Version" debe finalizar en '>'" means in english:"The declaration for the entity "HTML.Version" must end with '>'"

        1. pmd_report.xml
          1.31 MB
          Julian Borrero
        2. pmd-report-per-class.xslt
          5 kB
          Julian Borrero

            drulli Ulli Hafner
            saija Julian Borrero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: