Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27971

NPE with Rundeck v2.4.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • rundeck-plugin
    • None
    • 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

      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).

            vbehar Vincent Behar
            ahammar Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: