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

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

              Created:
              Updated:
              Resolved: