-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Jenkins 2.135
Cppcheck 1.23 crashes with:
13:13:42 [Cppcheck] Starting the cppcheck analysis. 13:13:42 ERROR: Build step failed with exception 13:13:42 java.lang.NullPointerException 13:13:42 at org.jenkinsci.plugins.cppcheck.CppcheckPublisher.perform(CppcheckPublisher.java:387) 13:13:42 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 13:13:42 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) 13:13:42 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) 13:13:42 at hudson.model.Build$BuildExecution.post2(Build.java:186) 13:13:42 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) 13:13:42 at hudson.model.Run.execute(Run.java:1840) 13:13:42 at hudson.matrix.MatrixRun.run(MatrixRun.java:153) 13:13:42 at hudson.model.ResourceController.execute(ResourceController.java:97) 13:13:42 at hudson.model.Executor.run(Executor.java:429) 13:13:42 Build step 'Publish Cppcheck results' marked build as failure
1.22 in fact has the problem that configuration gets lost. Future versions have no ability to restore that configuration. Thus, you have to re-enter your configs - sorry for that! After doing that the exception should not appear any more. cobexer, nkjensen could you confirm that?