-
Bug
-
Resolution: Fixed
-
Blocker
-
None
After upgrading to Mask Passwords 2.10 and attempting to run a project with it enabled, the project fails immediately, failing to even write a log for the project failure. Jenkins log errors below. Had to downgrade to 2.09 to restore functionality.
Apr 10, 2017 7:50:30 AM hudson.model.Run handleFatalBuildProblem
SEVERE: #20 failed to build and we don't even have a listener
java.lang.NullPointerException
at com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsConfig.isMasked(MaskPasswordsConfig.java:343)
at com.michelin.cio.hudson.plugins.maskpasswords.MaskPasswordsBuildWrapper.createLoggerDecorator(MaskPasswordsBuildWrapper.java:132)
at jenkins.tasks.SimpleBuildWrapper.decorateLogger(SimpleBuildWrapper.java:191)
at hudson.model.Run.createBuildListener(Run.java:1824)
at hudson.model.Run.execute(Run.java:1719)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:405)
Apr 10, 2017 7:50:30 AM hudson.model.Run handleFatalBuildProblem
SEVERE: #20 failed to build and we don't even have a listener
java.lang.NullPointerException
at hudson.model.AbstractBuild$AbstractBuildExecution.reportError(AbstractBuild.java:749)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:728)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
at hudson.model.Run.execute(Run.java:1760)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:405)
- is duplicated by
-
JENKINS-43515 Mask Passwords throws NullPointerException inside Pipeline Step
- Resolved