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

Fatal error while parsing cobertura results after successfull completion of build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Component/s: cobertura-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      I am running Hudson 1.3.19 on Centos 5.3 using tomcat 6.0.20 and jdk 1.6.0_15.
      I installed the cobertura plugin and turned on coverage reports on my builds
      (using maven 2.0.10). The build failed with the following error. The maven build
      had completed successfully.

      Publishing Cobertura coverage results...
      FATAL: Unable to parse
      /d1/hudson/jobs/trunk-continuous/builds/2009-08-18_16-24-48/coverage3259.xml
      com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
      Invalid byte 2 of 2-byte UTF-8 sequence.
      at
      com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:684)
      at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:369)
      at
      com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742)
      at
      com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(XMLEntityScanner.java:1619)
      at
      com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(XMLEntityScanner.java:1657)
      at
      com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:193)
      at
      com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
      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:198)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:77)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:48)
      at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:471)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:457)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:596)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:429)
      at hudson.model.Run.run(Run.java:1111)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)
      FATAL: Unable to parse
      /d1/hudson/jobs/trunk-continuous/builds/2009-08-18_16-24-48/coverage3033.xml
      hudson.util.IOException2: Cannot parse coverage results
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:85)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:48)
      at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:471)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:457)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:596)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:429)
      at hudson.model.Run.run(Run.java:1111)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)
      Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
      at
      com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
      at
      com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1039)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      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:198)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:77)
      ... 11 more
      FATAL: Unable to parse
      /d1/hudson/jobs/trunk-continuous/builds/2009-08-18_16-24-48/coverage3335.xml
      com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
      Invalid byte 2 of 2-byte UTF-8 sequence.
      at
      com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:684)
      at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:369)
      at
      com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742)
      at
      com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(XMLEntityScanner.java:1619)
      at
      com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(XMLEntityScanner.java:1657)
      at
      com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:193)
      at
      com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
      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:198)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:77)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:48)
      at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:471)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:457)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:596)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:429)
      at hudson.model.Run.run(Run.java:1111)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)
      FATAL: Unable to parse
      /d1/hudson/jobs/trunk-continuous/builds/2009-08-18_16-24-48/coverage2087.xml
      com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException:
      Invalid byte 2 of 2-byte UTF-8 sequence.
      at
      com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:684)
      at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:369)
      at
      com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742)
      at
      com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.arrangeCapacity(XMLEntityScanner.java:1619)
      at
      com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipString(XMLEntityScanner.java:1657)
      at
      com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:193)
      at
      com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
      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:198)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:77)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:48)
      at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:471)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:457)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:596)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:429)
      at hudson.model.Run.run(Run.java:1111)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)
      FATAL: Unable to parse
      /d1/hudson/jobs/trunk-continuous/builds/2009-08-18_16-24-48/coverage937.xml
      hudson.util.IOException2: Cannot parse coverage results
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:85)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:48)
      at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:471)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:457)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:596)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:429)
      at hudson.model.Run.run(Run.java:1111)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)
      Caused by: org.xml.sax.SAXParseException: The markup in the document preceding
      the root element must be well-formed.
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
      at
      com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
      at
      com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:925)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      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:198)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:77)
      ... 11 more
      FATAL: Unable to parse
      /d1/hudson/jobs/trunk-continuous/builds/2009-08-18_16-24-48/coverage1162.xml
      hudson.util.IOException2: Cannot parse coverage results
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:85)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:48)
      at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:471)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:457)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:596)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:429)
      at hudson.model.Run.run(Run.java:1111)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)
      Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
      at
      com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
      at
      com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1039)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      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:198)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:77)
      ... 11 more
      FATAL: Unable to parse
      /d1/hudson/jobs/trunk-continuous/builds/2009-08-18_16-24-48/coverage4213.xml
      hudson.util.IOException2: Cannot parse coverage results
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:85)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:48)
      at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:471)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:457)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:596)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:429)
      at hudson.model.Run.run(Run.java:1111)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)
      Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
      at
      com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
      at
      com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
      at
      com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1039)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      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:198)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:77)
      ... 11 more
      FATAL: null
      java.lang.NullPointerException
      at
      hudson.plugins.cobertura.CoberturaXmlHandler.startElement(CoberturaCoverageParser.java:165)
      at
      com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
      at
      com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:767)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1359)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
      at
      com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
      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:198)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:77)
      at
      hudson.plugins.cobertura.CoberturaCoverageParser.parse(CoberturaCoverageParser.java:48)
      at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:471)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:457)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:596)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:429)
      at hudson.model.Run.run(Run.java:1111)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:301)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)

        Attachments

          Activity

          Hide
          moizd moizd added a comment -

          It appears that the coverage xml files are in binary format. I have the plugin
          configured to generate xml reports as outlined in the cobertura plugin for
          hudson doc.

          Show
          moizd moizd added a comment - It appears that the coverage xml files are in binary format. I have the plugin configured to generate xml reports as outlined in the cobertura plugin for hudson doc.
          Hide
          jieryn jieryn added a comment -

          I see this too with Hudson 1.323 and Hudson Cobertura 0.8.9.

          Show
          jieryn jieryn added a comment - I see this too with Hudson 1.323 and Hudson Cobertura 0.8.9.
          Hide
          jieryn jieryn added a comment -

          This problem goes away when I set Cobertura xml report pattern
          [**/target/site/cobertura/coverage.xml]

          Show
          jieryn jieryn added a comment - This problem goes away when I set Cobertura xml report pattern [**/target/site/cobertura/coverage.xml]
          Hide
          raboof raboof added a comment -

          This had me confused for a bit, and Adam Armistead at http://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin too. Perhaps this field should be made required?

          Show
          raboof raboof added a comment - This had me confused for a bit, and Adam Armistead at http://wiki.jenkins-ci.org/display/JENKINS/Cobertura+Plugin too. Perhaps this field should be made required?
          Hide
          sogabe sogabe added a comment -

          reopen if reproduced.

          Show
          sogabe sogabe added a comment - reopen if reproduced.

            People

            • Assignee:
              stephenconnolly Stephen Connolly
              Reporter:
              moizd moizd
            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: