-
Bug
-
Resolution: Fixed
-
Critical
-
Jenkins ver.: 2.222.1
http-request-plugin: 1.8.25
When upgrading http-request-plugin from 1.8.24 to 1.8.25 the following Nullpointer occures:
ERROR: Build step failed with exception
java.lang.NullPointerException
at jenkins.plugins.http_request.HttpRequestExecution.from(HttpRequestExecution.java:121)
at jenkins.plugins.http_request.HttpRequest.perform(HttpRequest.java:392)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
at hudson.model.Run.execute(Run.java:1856)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:428)
Build step 'HTTP Request' marked build as failure
Seems this is then the case if the params "content-type" and "accept" in Header-section is not set.