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

CVSNT changelog parse failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cvs-plugin
    • None
    • Platform: All, OS: All

      Apparently CVSNT generates an empty changelog.xml file at times (not even the
      empty <changelog /> tag). This causes hudson to choke when trying to parse it.

      I'm using hudson-1.203 running under tomcat.

      SEVERE: Parse Fatal Error at line -1 column -1: Premature end of file.
      org.xml.sax.SAXParseException: Premature end of file.
      at
      org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Lorg.apache.xerces.xni
      .parser.XMLParseException;)Lorg.xml.sax.SAXParseException;(Unknown Source)
      at
      org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Ljava.lang.String;Ljava.lang.String
      ;Lorg.apache.xerces.xni.parser.XMLParseException;)V(Unknown Source)
      at
      org.apache.xerces.impl.XMLErrorReporter.reportError(Lorg.apache.xerces.xni.XMLLocator;Lja
      va.lang.String;Ljava.lang.String;[Ljava.lang.Object;S)V(Unknown Source)
      at
      org.apache.xerces.impl.XMLErrorReporter.reportError(Ljava.lang.String;Ljava.lang.String;[
      Ljava.lang.Object;S)V(Unknown Source)
      at
      org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Lorg.apache.xerces.xni.pars
      er.XMLInputSource;)S(Unknown Source)
      at org.apache.xerces.parsers.XML11Configuration.parse(Z)Z(Unknown Source)
      at
      org.apache.xerces.parsers.XML11Configuration.parse(Lorg.apache.xerces.xni.parser.XMLInput
      Source;)V(Unknown Source)
      at
      org.apache.xerces.parsers.XMLParser.parse(Lorg.apache.xerces.xni.parser.XMLInputSource;)V
      (Unknown Source)
      at
      org.apache.xerces.parsers.AbstractSAXParser.parse(Lorg.xml.sax.InputSource;)V(Unknown
      Sou
      rce)
      at
      org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Lorg.xml.sax.InputSource;)V(Unkn
      own Source)
      at org.apache.commons.digester.Digester.parse(Digester.java:1631)
      at hudson.scm.CVSChangeLogSet.parse(CVSChangeLogSet.java:73)
      at hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:15)
      at hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:13)
      at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:347)
      at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:329)
      at hudson.tasks.MailSender.createFailureMail(MailSender.java:164)
      at hudson.tasks.MailSender.getMail(MailSender.java:90)
      at hudson.tasks.MailSender.execute(MailSender.java:58)
      at hudson.tasks.Mailer._perform(Mailer.java:74)
      at hudson.tasks.Mailer.perform(Mailer.java:68)
      at
      hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:33)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:302)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:290)
      at hudson.model.Build$RunnerImpl.post2(Build.java:135)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:275)
      hudson.util.IOException2: Failed to parse
      d:\Hudson\jobs\tbbgl-logging\builds\2008-04-03_23-01-56\ch
      angelog.xml
      at hudson.scm.CVSChangeLogSet.parse(CVSChangeLogSet.java:77)
      at hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:15)
      at hudson.scm.CVSChangeLogParser.parse(CVSChangeLogParser.java:13)
      at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:347)
      at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:329)
      at hudson.tasks.MailSender.createFailureMail(MailSender.java:164)
      at hudson.tasks.MailSender.getMail(MailSender.java:90)
      at hudson.tasks.MailSender.execute(MailSender.java:58)
      at hudson.tasks.Mailer._perform(Mailer.java:74)
      at hudson.tasks.Mailer.perform(Mailer.java:68)
      at
      hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:33)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:302)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:290)
      at hudson.model.Build$RunnerImpl.post2(Build.java:135)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:275)
      at hudson.model.Run.run(Run.java:767)
      at hudson.model.Build.run(Build.java:102)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:71)
      Caused by: org.xml.sax.SAXParseException: Premature end of file.
      at
      org.apache.xerces.parsers.AbstractSAXParser.parse(Lorg.xml.sax.InputSource;)V(Unknown
      Sou
      rce)
      at
      org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Lorg.xml.sax.InputSource;)V(Unkn
      own Source)
      at org.apache.commons.digester.Digester.parse(Digester.java:1631)
      at hudson.scm.CVSChangeLogSet.parse(CVSChangeLogSet.java:73)
      ... 18 more

            Unassigned Unassigned
            dnebing dnebing
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: