Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

error reading getExecutionState() for jobs containing linked steps #43

Open
azplanlos opened this issue Mar 27, 2019 · 1 comment
Open

Comments

@azplanlos
Copy link

getExecutionState(long id) fails when trying to read the state of an execution of a job that includes another job linked as node step. The error reported is a parsing error (String instead of Integer).

@azplanlos
Copy link
Author

java.lang.NumberFormatException: For input string: "1@node=service-stgt1"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.base/java.lang.Integer.parseInt(Integer.java:652)
at java.base/java.lang.Integer.parseInt(Integer.java:770)
at [email protected]/org.rundeck.api.parser.IndexedWorkflowStepStateParser.lookupContext(IndexedWorkflowStepStateParser.java:48)
at [email protected]/org.rundeck.api.parser.IndexedWorkflowStepStateParser.parseXmlNode(IndexedWorkflowStepStateParser.java:21)
at [email protected]/org.rundeck.api.parser.IndexedWorkflowStepStateParser.parseXmlNode(IndexedWorkflowStepStateParser.java:13)
at [email protected]/org.rundeck.api.parser.ListParser.parseXmlNode(ListParser.java:51)
at [email protected]/org.rundeck.api.parser.ExecutionStateParser.parse(ExecutionStateParser.java:44)
at [email protected]/org.rundeck.api.parser.ExecutionStateParser.parse(ExecutionStateParser.java:14)
at [email protected]/org.rundeck.api.parser.BaseXpathParser.parseXmlNode(BaseXpathParser.java:27)
at [email protected]/org.rundeck.api.ApiCall$ParserHandler.handle(ApiCall.java:533)
at [email protected]/org.rundeck.api.ApiCall.execute(ApiCall.java:463)
at [email protected]/org.rundeck.api.ApiCall.get(ApiCall.java:182)
at [email protected]/org.rundeck.api.RundeckClient.getExecutionState(RundeckClient.java:2259)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant