An invalid XML character (Unicode: 0x1b) was found in the element content of the document.

1,372 views
Skip to first unread message

Darup

unread,
Apr 10, 2013, 9:32:40 PM4/10/13
to rundeck...@googlegroups.com
I am getting this error from the command mode and not from Web UI.
I am getting this problem only when running service puppet debug, rest of all commands running fine.  any clue?

run -I tags=dev02 -p Sxxxxxx -f -j "servicePuppetDebug"

2013-04-10 18:26:52,077 [343193342@qtp-109647522-160] INFO  grails.app.service.rundeck.services.ScheduledExecutionService - scheduling immediate job run: TEMP:admin:4:71
2013-04-10 18:26:53,224 [main] ERROR com.dtolabs.client.utils.WebserviceHttpClientChannel - Unable to parse result document: Error on line 1 of document  : An invalid XML character (Unicode: 0x1b) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1b) was found in the element content of the document.
org.dom4j.DocumentException: Error on line 1 of document  : An invalid XML character (Unicode: 0x1b) was found in the element content of the document. Nested exception: An invalid XML character (Unicode: 0x1b) was found in the element content of the document.
        at org.dom4j.io.SAXReader.read(SAXReader.java:482)
        at org.dom4j.io.SAXReader.read(SAXReader.java:343)
        at com.dtolabs.client.utils.WebserviceHttpClientChannel.postMakeRequest(WebserviceHttpClientChannel.java:283)
        at com.dtolabs.client.utils.HttpClientChannel.makeRequest(HttpClientChannel.java:396)
        at com.dtolabs.client.services.ServerService.makeRundeckRequest(ServerService.java:196)
        at com.dtolabs.client.services.ServerService.makeRundeckRequest(ServerService.java:142)
        at com.dtolabs.client.services.ServerService.makeRundeckRequest(ServerService.java:98)
        at com.dtolabs.client.services.RundeckAPICentralDispatcher.followDispatcherExecution(RundeckAPICentralDispatcher.java:816)
        at com.dtolabs.rundeck.core.cli.queue.QueueTool.followAction(QueueTool.java:484)
        at com.dtolabs.rundeck.core.cli.run.RunTool.followOutput(RunTool.java:504)
        at com.dtolabs.rundeck.core.cli.run.RunTool.jobrunAction(RunTool.java:489)
        at com.dtolabs.rundeck.core.cli.run.RunTool.go(RunTool.java:392)
        at com.dtolabs.rundeck.core.cli.BaseTool.run(BaseTool.java:107)
        at com.dtolabs.rundeck.core.cli.run.RunTool.main(RunTool.java:124)
Nested exception:
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 456; An invalid XML character (Unicode: 0x1b) was found in the element content of the document.
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.dom4j.io.SAXReader.read(SAXReader.java:465)
        at org.dom4j.io.SAXReader.read(SAXReader.java:343)
        at com.dtolabs.client.utils.WebserviceHttpClientChannel.postMakeRequest(WebserviceHttpClientChannel.java:283)
        at com.dtolabs.client.utils.HttpClientChannel.makeRequest(HttpClientChannel.java:396)
        at com.dtolabs.client.services.ServerService.makeRundeckRequest(ServerService.java:196)
        at com.dtolabs.client.services.ServerService.makeRundeckRequest(ServerService.java:142)
        at com.dtolabs.client.services.ServerService.makeRundeckRequest(ServerService.java:98)
        at com.dtolabs.client.services.RundeckAPICentralDispatcher.followDispatcherExecution(RundeckAPICentralDispatcher.java:816)
        at com.dtolabs.rundeck.core.cli.queue.QueueTool.followAction(QueueTool.java:484)
        at com.dtolabs.rundeck.core.cli.run.RunTool.followOutput(RunTool.java:504)
        at com.dtolabs.rundeck.core.cli.run.RunTool.jobrunAction(RunTool.java:489)
        at com.dtolabs.rundeck.core.cli.run.RunTool.go(RunTool.java:392)
        at com.dtolabs.rundeck.core.cli.BaseTool.run(BaseTool.java:107)
        at com.dtolabs.rundeck.core.cli.run.RunTool.main(RunTool.java:124)
2013-04-10 18:27:07,767 [quartzScheduler_Worker-1] INFO  grails.app.service.rundeck.services.ExecutionService - Execution successful: 71
2013-04-10 18:27:07,805 [quartzScheduler_Worker-1] INFO  grails.app.service.rundeck.services.ExecutionService - updated scheduled Execution

Greg Schueler

unread,
Apr 10, 2013, 9:42:28 PM4/10/13
to rundeck...@googlegroups.com
There is a bug in 1.5 when invalid xml characters exist in the command output log: https://github.com/dtolabs/rundeck/issues/313




--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Darup

unread,
Apr 10, 2013, 10:57:58 PM4/10/13
to rundeck...@googlegroups.com
thank you.
Reply all
Reply to author
Forward
0 new messages