java.lang.NullPointerException

Jenkins JIRA | Anders Hammar | 2 years ago
  1. 0

    In a Jenkins job triggering a job in Rundeck, I get a NPE: {noformat} 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) {noformat} 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).

    Jenkins JIRA | 2 years ago | Anders Hammar
    java.lang.NullPointerException
  2. 0

    In a Jenkins job triggering a job in Rundeck, I get a NPE: {noformat} 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) {noformat} 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).

    Jenkins JIRA | 2 years ago | Anders Hammar
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

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