java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I'm trying to delete all of my generated jobs but the process fails partway thru with a NPE: {noformat} java.lang.NullPointerException at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:617) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobs(GeneratorRun.java:584) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobs(GeneratorRun.java:598) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.doRun(GeneratorRun.java:250) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580) at hudson.model.Run.execute(Run.java:1575) at org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:229) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) {noformat}
    via by Walter Kacynski,
  • I'm trying to delete all of my generated jobs but the process fails partway thru with a NPE: {noformat} java.lang.NullPointerException at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:617) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobs(GeneratorRun.java:584) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobs(GeneratorRun.java:598) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.doRun(GeneratorRun.java:250) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580) at hudson.model.Run.execute(Run.java:1575) at org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:229) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) {noformat}
    via by Walter Kacynski,
    • java.lang.NullPointerException at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:617) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobFromPreviousBuild(GeneratorRun.java:647) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJob(GeneratorRun.java:637) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobs(GeneratorRun.java:584) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.deleteJobs(GeneratorRun.java:598) at org.jenkinsci.plugins.jobgenerator.GeneratorRun$GeneratorImpl.doRun(GeneratorRun.java:250) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:580) at hudson.model.Run.execute(Run.java:1575) at org.jenkinsci.plugins.jobgenerator.GeneratorRun.run(GeneratorRun.java:229) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)
    No Bugmate found.