-
Bug
-
Resolution: Fixed
-
Major
-
None
1.6.2 introduced the field 'net', but when you upgrade from a prior version this field is null, leading to a NPE
FATAL: null
java.lang.NullPointerException
at com.cloudbees.jenkins.plugins.docker_build_env.Docker.runDetached(Docker.java:176)
at com.cloudbees.jenkins.plugins.docker_build_env.DockerBuildWrapper.startBuildContainer(DockerBuildWrapper.java:200)
at com.cloudbees.jenkins.plugins.docker_build_env.DockerBuildWrapper.setUp(DockerBuildWrapper.java:173)
at hudson.model.Build$BuildExecution.doRun(Build.java:154)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)
Workaround is to save the job configuration.