java.io.IOException: Parsing of output xml failed!

Jenkins JIRA | wing king | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Testcase: Set Alert Set Global Variable ${alert_empty_user} 用户名不能为空 Set Global Variable ${alert_empty_pwd} 密码不能为空 it runs success in robot ride, and in jekins,the log.html display correctly. but the "Robot Results" doesn't work. the console output: Robot results publisher started... -Parsing output xml: Failed! java.io.IOException: Parsing of output xml failed! at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:90) at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:50) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.plugins.robot.RobotParser.parse(RobotParser.java:45) at hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:235) at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:257) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1527) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </arguments>; expected </arg>. at [row,col {unknown-source}]: [19,11] at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:630) at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461) at com.ctc.wstx.sr.BasicStreamReader.reportWrongEndElem(BasicStreamReader.java:3258) at com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:3218) at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2832) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019) at hudson.plugins.robot.RobotParser$RobotParserCallable.processTest(RobotParser.java:190) at hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:158) at hudson.plugins.robot.RobotParser$RobotParserCallable.parseResult(RobotParser.java:114) at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:88) ... 15 more Build step 'Publish Robot Framework test results' changed build result to FAILURE Finished: FAILURE the output.xml [19,11]: <arguments> <arg>${alert_empty_user}</arg> <arg>用户名不能为空</arg> </arguments> if i add "" ,it works: Set Alert Set Global Variable ${alert_empty_user} '用户名不能为空' Set Global Variable ${alert_empty_pwd} '密码不能为空'

    Jenkins JIRA | 4 years ago | wing king
    java.io.IOException: Parsing of output xml failed!
  2. 0

    Testcase: Set Alert Set Global Variable ${alert_empty_user} 用户名不能为空 Set Global Variable ${alert_empty_pwd} 密码不能为空 it runs success in robot ride, and in jekins,the log.html display correctly. but the "Robot Results" doesn't work. the console output: Robot results publisher started... -Parsing output xml: Failed! java.io.IOException: Parsing of output xml failed! at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:90) at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:50) at hudson.FilePath.act(FilePath.java:852) at hudson.FilePath.act(FilePath.java:825) at hudson.plugins.robot.RobotParser.parse(RobotParser.java:45) at hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:235) at hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:257) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1527) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: com.ctc.wstx.exc.WstxParsingException: Unexpected close tag </arguments>; expected </arg>. at [row,col {unknown-source}]: [19,11] at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:630) at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461) at com.ctc.wstx.sr.BasicStreamReader.reportWrongEndElem(BasicStreamReader.java:3258) at com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:3218) at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2832) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019) at hudson.plugins.robot.RobotParser$RobotParserCallable.processTest(RobotParser.java:190) at hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:158) at hudson.plugins.robot.RobotParser$RobotParserCallable.parseResult(RobotParser.java:114) at hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:88) ... 15 more Build step 'Publish Robot Framework test results' changed build result to FAILURE Finished: FAILURE the output.xml [19,11]: <arguments> <arg>${alert_empty_user}</arg> <arg>用户名不能为空</arg> </arguments> if i add "" ,it works: Set Alert Set Global Variable ${alert_empty_user} '用户名不能为空' Set Global Variable ${alert_empty_pwd} '密码不能为空'

    Jenkins JIRA | 4 years ago | wing king
    java.io.IOException: Parsing of output xml failed!
  3. 0

    Unexpected '<' in attribute value at [row,col {unknown-source}]

    Google Groups | 10 months ago | Manpreet Singh
    java.io.IOException: Parsing of output xml failed!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TCP transport in Proxy wso2 esb

    Stack Overflow | 4 years ago | Alper
    com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs. at [row,col {unknown-source}]: [2,5]
  6. 0

    The rule 'OCLint:feature envy' does not exist.

    GitHub | 3 years ago | rajasekaran2015
    com.ctc.wstx.exc.WstxParsingException: Unexpected close tag ; expected . at [row,col {unknown-source}]: [80,5]

  1. balintn 1 times, last 3 months ago
5 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. com.ctc.wstx.exc.WstxParsingException

    Unexpected close tag </arguments>; expected </arg>. at [row,col {unknown-source}]: [19,11]

    at com.ctc.wstx.sr.StreamScanner.constructWfcException()
  2. Woodstox
    BasicStreamReader.next
    1. com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:630)
    2. com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:461)
    3. com.ctc.wstx.sr.BasicStreamReader.reportWrongEndElem(BasicStreamReader.java:3258)
    4. com.ctc.wstx.sr.BasicStreamReader.readEndElem(BasicStreamReader.java:3218)
    5. com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2832)
    6. com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)
    6 frames
  3. hudson.plugins.robot
    RobotParser$RobotParserCallable.invoke
    1. hudson.plugins.robot.RobotParser$RobotParserCallable.processTest(RobotParser.java:190)
    2. hudson.plugins.robot.RobotParser$RobotParserCallable.processSuite(RobotParser.java:158)
    3. hudson.plugins.robot.RobotParser$RobotParserCallable.parseResult(RobotParser.java:114)
    4. hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:88)
    5. hudson.plugins.robot.RobotParser$RobotParserCallable.invoke(RobotParser.java:50)
    5 frames
  4. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:852)
    2. hudson.FilePath.act(FilePath.java:825)
    2 frames
  5. hudson.plugins.robot
    RobotPublisher.perform
    1. hudson.plugins.robot.RobotParser.parse(RobotParser.java:45)
    2. hudson.plugins.robot.RobotPublisher.parse(RobotPublisher.java:235)
    3. hudson.plugins.robot.RobotPublisher.perform(RobotPublisher.java:257)
    3 frames
  6. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
    4. hudson.model.Build$BuildExecution.post2(Build.java:183)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
    6. hudson.model.Run.execute(Run.java:1527)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    8. hudson.model.ResourceController.execute(ResourceController.java:88)
    9. hudson.model.Executor.run(Executor.java:236)
    9 frames