java.lang.NullPointerException

Jenkins JIRA | Daniel Spilker | 1 year ago
  1. 0

    When attempting to move a job into a non-existing folder by using {{previousNames}}, the seed job fails with an exception: DSL script: {code} job('foo/bar') { previousNames('bar') } {code} Console output: {code} Processing provided DSL script FATAL: null java.lang.NullPointerException at javaposse.jobdsl.plugin.JenkinsJobManagement.renameJob(JenkinsJobManagement.java:525) at javaposse.jobdsl.plugin.JenkinsJobManagement.renameJobMatching(JenkinsJobManagement.java:368) at javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedJobs(DslScriptLoader.java:118) at javaposse.jobdsl.dsl.DslScriptLoader.runDslEngine(DslScriptLoader.java:97) at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:215) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) {code} Jenkins log: {code} Jun 26, 2015 1:43:49 PM INFO javaposse.jobdsl.plugin.JenkinsJobManagement renameJob Renaming job bar to foo/bar {code}

    Jenkins JIRA | 1 year ago | Daniel Spilker
    java.lang.NullPointerException
  2. 0

    When attempting to move a job into a non-existing folder by using {{previousNames}}, the seed job fails with an exception: DSL script: {code} job('foo/bar') { previousNames('bar') } {code} Console output: {code} Processing provided DSL script FATAL: null java.lang.NullPointerException at javaposse.jobdsl.plugin.JenkinsJobManagement.renameJob(JenkinsJobManagement.java:525) at javaposse.jobdsl.plugin.JenkinsJobManagement.renameJobMatching(JenkinsJobManagement.java:368) at javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedJobs(DslScriptLoader.java:118) at javaposse.jobdsl.dsl.DslScriptLoader.runDslEngine(DslScriptLoader.java:97) at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:215) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745) at hudson.model.Build$BuildExecution.build(Build.java:198) at hudson.model.Build$BuildExecution.doRun(Build.java:159) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518) at hudson.model.Run.execute(Run.java:1706) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) {code} Jenkins log: {code} Jun 26, 2015 1:43:49 PM INFO javaposse.jobdsl.plugin.JenkinsJobManagement renameJob Renaming job bar to foo/bar {code}

    Jenkins JIRA | 1 year ago | Daniel Spilker
    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 javaposse.jobdsl.plugin.JenkinsJobManagement.renameJob()
    2. javaposse.jobdsl.plugin
      JenkinsJobManagement.renameJobMatching
      1. javaposse.jobdsl.plugin.JenkinsJobManagement.renameJob(JenkinsJobManagement.java:525)
      2. javaposse.jobdsl.plugin.JenkinsJobManagement.renameJobMatching(JenkinsJobManagement.java:368)
      2 frames
    3. javaposse.jobdsl.dsl
      DslScriptLoader.runDslEngine
      1. javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedJobs(DslScriptLoader.java:118)
      2. javaposse.jobdsl.dsl.DslScriptLoader.runDslEngine(DslScriptLoader.java:97)
      2 frames
    4. javaposse.jobdsl.plugin
      ExecuteDslScripts.perform
      1. javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:215)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745)
      3. hudson.model.Build$BuildExecution.build(Build.java:198)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:159)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
      6. hudson.model.Run.execute(Run.java:1706)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:231)
      9 frames