Issue Type: Bug Bug
Assignee: Vincent Behar
Components: rundeck-plugin
Created: 16/Apr/15 7:13 AM
Description:

In a Jenkins job triggering a job in Rundeck, I get a NPE:

java.lang.NullPointerException
        at org.rundeck.api.parser.ExecutionParser.parseXmlNode(ExecutionParser.java:52)
        at org.rundeck.api.parser.ExecutionParser.parseXmlNode(ExecutionParser.java:30)
        at org.rundeck.api.ApiCall.execute(ApiCall.java:315)
        at org.rundeck.api.ApiCall.get(ApiCall.java:180)
        at org.rundeck.api.RundeckClient.triggerJob(RundeckClient.java:1066)
        at org.jenkinsci.plugins.rundeck.RundeckNotifier.notifyRundeck(RundeckNotifier.java:168)
        at org.jenkinsci.plugins.rundeck.RundeckNotifier.perform(RundeckNotifier.java:88)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
        at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
        at hudson.model.Build$BuildExecution.post2(Build.java:183)
        at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
        at hudson.model.Run.execute(Run.java:1784)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:89)
        at hudson.model.Executor.run(Executor.java:240)

The job is successfully triggered though in Rundeck. The NPE occurs in Jenkins when trying to parse the answer.

The config of the rundeck-plugin in Jenkins is the URL and the auth token. No API version specified (thus, default v9 is used).

Environment: Jenkins LTS 1.596.2, JDK 1.7.0_72, Windows 7, rundeck-plugin v3.3
Rundeck 2.4.2, JDK 1.7.0_72, Windows 7
Project: Jenkins
Priority: Minor Minor
Reporter: Anders Hammar
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to