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

NPE during Deleteing of Jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • jobgenerator-plugin
    • None

      I'm trying to delete all of my generated jobs but the process fails partway thru with a NPE:

      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)
      
      

            syl20bnr Sylvain Benner
            walterk82 Walter Kacynski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: