-
Bug
-
Resolution: Fixed
-
Major
-
None
After upgrade to bp 1.16, bp fails with NPE:
java.lang.NullPointerException at org.apache.commons.httpclient.HttpMethodBase.getStatusCode(HttpMethodBase.java:570) at hudson.plugins.build_publisher.PublisherThread.urlExist (PublisherThread.java:292) at hudson.plugins.build_publisher.PublisherThread.assertUrlExists(PublisherThread.java:277) at hudson.plugins.build_publisher.PublisherThread.synchronizeProjectSettings(PublisherThread.java:218) at hudson.plugins.build_publisher.PublisherThread.run(PublisherThread.java:113)
Code changed in jenkins
User: Vojtech Juranek
Path:
src/main/java/hudson/plugins/build_publisher/PublisherThread.java
http://jenkins-ci.org/commit/build-publisher-plugin/f4f30c145aba4e87551fb5ac8a7c88e96fa2aec6
Log:
[FIXED JENKINS-17944] Check, if method was executed before reading status