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

NPE while running PrePostClean wihtout any slaves

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • hudson-wsclean-plugin
    • None
    • Platform: Other, OS: Linux

      The actually installed version is hudson-1.327.war. It runs within Apache Tomcat
      6.0.20 on a remote CentOS 5.3 Linux

      I found a NPE within PrePostClean when this feature is switched on (both
      checkboxes selected), but no slaves exists.

      At revision 314
      no change for https://svn.......ch/svn/.../trunk/.....interface since the
      previous build
      no change for https://svn.........ch/svn/.../trunk/....interface since the
      previous build
      run PrePostClean
      running on master
      FATAL: null
      java.lang.NullPointerException
      at
      de.jamba.hudson.plugin.wsclean.PrePostClean.executeOnSlaves(PrePostClean.java:82)
      at de.jamba.hudson.plugin.wsclean.PrePostClean.setUp(PrePostClean.java:62)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:127)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354)
      at hudson.model.Run.run(Run.java:1120)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

            tspengler tspengler
            mniedero mniedero
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: