Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52854

NPE with Cppcheck plugin 1.23

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • cppcheck-plugin
    • 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
      

            marcosteffan Marco Steffan
            cobexer Ing. Christoph Obexer
            Votes:
            9 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: