java.io.IOException: Failed to parse changelog file. at hudson.plugins.perforce.PerforceChangeLogSet.parse(PerforceChangeLogSet.java:137) at hudson.plugins.perforce.PerforceChangeLogParser.parse(PerforceChangeLogParser.java:18)

Jenkins JIRA | gerhard6 | 9 years ago
  1. 0

    (followup of https://hudson.dev.java.net/issues/show_bug.cgi?id=1087) (hudson 1.160 w. perforce 1.0.5 on jdk 1.6) When starting hudson, I currently receive the stacks like the one listed below. (pls add the filename to the Exception, if possible). I will attach one of the potentially "bad" changelog.xml files, I've found in one build directory. We have colleagues in Czechia, who seem to add comments in their language, and maybe this is not UTF-8 - I'm not sure. It seems that the problem is located in the class PerforceChangeLogSet itself, it also creates the xml-files.... ----- java.io.IOException: Failed to parse changelog file. at hudson.plugins.perforce.PerforceChangeLogSet.parse(PerforceChangeLogSet.java:137) at hudson.plugins.perforce.PerforceChangeLogParser.parse(PerforceChangeLogParser.java:18) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:298) at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:280) at hudson.model.User.getBuilds(User.java:240) at hudson.WebAppMain$1$1.doRun(WebAppMain.java:121) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:18) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: org.dom4j.DocumentException: Invalid byte 2 of 4-byte UTF-8 sequence. Nested exception: Invalid at org.dom4j.io.SAXReader.read(SAXReader.java:484) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at hudson.plugins.perforce.PerforceChangeLogSet.parse(PerforceChangeLogSet.java:81) ... 8 more

    Jenkins JIRA | 9 years ago | gerhard6
    java.io.IOException: Failed to parse changelog file. at hudson.plugins.perforce.PerforceChangeLogSet.parse(PerforceChangeLogSet.java:137) at hudson.plugins.perforce.PerforceChangeLogParser.parse(PerforceChangeLogParser.java:18)
  2. 0

    (followup of https://hudson.dev.java.net/issues/show_bug.cgi?id=1087) (hudson 1.160 w. perforce 1.0.5 on jdk 1.6) When starting hudson, I currently receive the stacks like the one listed below. (pls add the filename to the Exception, if possible). I will attach one of the potentially "bad" changelog.xml files, I've found in one build directory. We have colleagues in Czechia, who seem to add comments in their language, and maybe this is not UTF-8 - I'm not sure. It seems that the problem is located in the class PerforceChangeLogSet itself, it also creates the xml-files.... ----- java.io.IOException: Failed to parse changelog file. at hudson.plugins.perforce.PerforceChangeLogSet.parse(PerforceChangeLogSet.java:137) at hudson.plugins.perforce.PerforceChangeLogParser.parse(PerforceChangeLogParser.java:18) at hudson.model.AbstractBuild.calcChangeSet(AbstractBuild.java:298) at hudson.model.AbstractBuild.getChangeSet(AbstractBuild.java:280) at hudson.model.User.getBuilds(User.java:240) at hudson.WebAppMain$1$1.doRun(WebAppMain.java:121) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:18) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: org.dom4j.DocumentException: Invalid byte 2 of 4-byte UTF-8 sequence. Nested exception: Invalid at org.dom4j.io.SAXReader.read(SAXReader.java:484) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at hudson.plugins.perforce.PerforceChangeLogSet.parse(PerforceChangeLogSet.java:81) ... 8 more

    Jenkins JIRA | 9 years ago | gerhard6
    java.io.IOException: Failed to parse changelog file. at hudson.plugins.perforce.PerforceChangeLogSet.parse(PerforceChangeLogSet.java:137) at hudson.plugins.perforce.PerforceChangeLogParser.parse(PerforceChangeLogParser.java:18)
  3. 0

    java.lang.RuntimeException: error while reading /WEB-INF/components.xml

    Stack Overflow | 4 years ago | jakob
    org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory**
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error with jBPM workflow - Forums | Liferay

    liferay.com | 1 year ago
    com.liferay.portal.kernel.xml.DocumentException: null Nested exception: null
  6. 0

    How to get workflow instance Id - Forums | Liferay

    liferay.com | 1 year ago
    java.lang.Exception: com.liferay.portal.kernel.xml.DocumentException: null Nested exception: null

    41 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.dom4j.DocumentException

      Invalid byte 2 of 4-byte UTF-8 sequence. Nested exception: Invalid

      at org.dom4j.io.SAXReader.read()
    2. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXReader.read(SAXReader.java:484)
      2. org.dom4j.io.SAXReader.read(SAXReader.java:343)
      2 frames