rundeck / rundeck-api-java-client

Java client for the Rundeck REST API
http://rundeck.github.com/rundeck-api-java-client
Apache License 2.0
13 stars 17 forks source link

error calling exportJob with YAML format #24

Closed gschueler closed 9 years ago

gschueler commented 9 years ago
Caught: org.rundeck.api.RundeckApiException: Failed to read RunDeck reponse
org.rundeck.api.RundeckApiException: Failed to read RunDeck reponse
    at org.rundeck.api.parser.ParserHelper.loadDocument(ParserHelper.java:47)
    at org.rundeck.api.ApiCall.get(ApiCall.java:224)
    at org.rundeck.api.RundeckClient.exportJob(RundeckClient.java:1011)
    at org.rundeck.api.RundeckClient$exportJob$0.call(Unknown Source)
    at run.run(run.groovy:46)
Caused by: org.dom4j.DocumentException: Error on line 1 of document  : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.
    at org.dom4j.io.SAXReader.read(SAXReader.java:482)
    at org.dom4j.io.SAXReader.read(SAXReader.java:343)
    at org.rundeck.api.parser.ParserHelper.loadDocument(ParserHelper.java:45)
    ... 4 more