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

Dependency check analysis fails with org.xml.sax.SAXParseException

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • Jenkins 2.74, dependency check plugin 2.1.0, Debian (Jessie)

       

      See details below, seems to be related html entity escaping.

      [DependencyCheck] Parsing of file /var/lib/jenkins/ws/dependency-check/server/build/reports/dependency-check-report.html failed due to an exception: org.xml.sax.SAXParseException; lineNumber: 13; columnNumber: 134; The entity name must immediately follow the '&' in the entity reference.
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
      at org.apache.commons.digester.Digester.parse(Digester.java:1916)
      at org.jenkinsci.plugins.DependencyCheck.parser.ReportParser.parse(ReportParser.java:126)
      at hudson.plugins.analysis.core.AbstractAnnotationParser.parse(AbstractAnnotationParser.java:54)
      at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:323)
       

         The attachment contains a snippet of the file showing the jquery inclusion in head element that causes the failure.

       

            sspringett Steve Springett
            amir_khassaia amir khassaia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: