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

Parse Error causing report generation to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Windows Server 2008 x64 , selenium-server-standalone-2.0b3.jar, java jdk 1.6.0_25 (x86), jre 1.6.0_25 (x86) executed from Jenkins 1.412

      I'm consistently getting an error when the plugin attempts to parse the results. My HtmlSuite runs without any issue and the results files are being generated but the test always throws an exception and never generates the report.

      Publishing Selenium report...
      Copying the reports.
      parsing resultFile chrome.htm
      ERROR: Publisher org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher aborted due to exception
      java.io.IOException: org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$BreakParsingException
      at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:111)
      at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.getString(TestResult.java:98)
      at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult.parse(TestResult.java:75)
      at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.createResults(SeleniumHtmlReportPublisher.java:95)
      at org.jvnet.hudson.plugins.seleniumhtmlreport.SeleniumHtmlReportPublisher.perform(SeleniumHtmlReportPublisher.java:74)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:662)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:638)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:616)
      at hudson.model.Build$RunnerImpl.post2(Build.java:161)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:585)
      at hudson.model.Run.run(Run.java:1398)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)
      Caused by: org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$BreakParsingException
      at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$ReadInfoHandler.endElement(TestResult.java:154)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:331)
      at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.parseFor(TestResult.java:123)
      at org.jvnet.hudson.plugins.seleniumhtmlreport.TestResult$InfoParser.retrieve(TestResult.java:107)
      ... 14 more

            m211 m211
            reaneyk KC Reaney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: