jenkinsci/slave-setup-plugin — pull request #6 by ukeller (2014-12-23 15:30:32+00:00)
Title: NPE in Jenkins 1.595

Hi there,
After upgrading to Jenkins 1.595, I noticed that the pre-launch would cause a NPE when launching the node through the Computer / Node configuration i.e. http://jenkins.example.com/computer/jenkins-ubuntu/ and than click on the "Launch Slave Agent button".
Basically Jenkins.MasterComputer.currentComputer() returns null. The comment on #currentComputer: "...This method only works when called during a build ..." hints that this might happen, however until the recent upgrade I've never seen it and I have started nodes outside the context of a build through the node configuration pages ...
Regards,
Urs