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

MalformedByteSequenceException during analysis

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • warnings-plugin
    • None
    • CentOS 5.5
      java version "1.6.0_17"
      OpenJDK Runtime Environment (IcedTea6 1.7.5) (rhel-1.16.b17.el5-i386)
      OpenJDK Server VM (build 14.0-b16, mixed mode)
      Jenkins ver. 1.399

      Build of job fails during PMD analysis with the following output:

      ...
      [CHECKSTYLE] Collecting checkstyle analysis files...
      [PMD] Collecting PMD analysis files...
      [PMD] Parsing of file /var/lib/jenkins/jobs/LSD/workspace/build/logs/pmd.xml failed due to an exception:

      com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
      at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      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.digester.Digester.parse(Digester.java:1666)
      at hudson.plugins.pmd.parser.PmdParser.parse(PmdParser.java:71)
      at hudson.plugins.analysis.core.AbstractAnnotationParser.parse(AbstractAnnotationParser.java:52)
      at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:197)
      at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:176)
      at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:126)
      at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:29)
      at hudson.FilePath.act(FilePath.java:757)
      at hudson.FilePath.act(FilePath.java:739)
      at hudson.plugins.pmd.PmdPublisher.perform(PmdPublisher.java:134)
      at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:281)
      at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:644)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:623)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:601)
      at hudson.model.Build$RunnerImpl.post2(Build.java:159)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:570)
      at hudson.model.Run.run(Run.java:1386)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)
      ...

            drulli Ulli Hafner
            patrickh patrick hanevold
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: