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

NPE in JCloudsComputer.doDoDelete() when node is not accessible

      I have a node that is shown as "offline" in Nodes list on the main page of Jenkins web UI (see screenshot). I tried deleting this slave manually, but got this NPE in jclouds plugin code:

      java.lang.NullPointerException
      at jenkins.plugins.openstack.compute.JCloudsComputer.doDoDelete(JCloudsComputer.java:50)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
      ... 70 more

          [JENKINS-29152] NPE in JCloudsComputer.doDoDelete() when node is not accessible

          Alex Java added a comment -

          this means you can't delete old nodes while the cloud plugin keeps adding new ones non-stop... seems like a critical bug. nodes number keeps growing.

          Alex Java added a comment - this means you can't delete old nodes while the cloud plugin keeps adding new ones non-stop... seems like a critical bug. nodes number keeps growing.

          Alex Java added a comment -

          Alex Java added a comment - I fixed this: https://github.com/jenkinsci/openstack-cloud-plugin/pull/28

            mavlyutov Marat Mavlyutov
            alskor Alex Java
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: