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

Cppcheck trend doesn't appear with plugin 1.23

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: cppcheck-plugin
    • Labels:
      None
    • Environment:
      jenkins 2.107.2
      cppcheck plugin 1.23 - 1.24
    • Similar Issues:

      Description

      After I upgraded cppcheck plugin from 1.21 to 1.23, and I restarted Jenkins, the cppcheck configuration was reseted and need to be reconfigured.

      After reconfiguration, Cppcheck trend, and all other trends which are configured in the job (tests, valgrind, coverage, SCLOCCount) don't appear anymore.

       

      If I downgrade cppcheck plugin to 1.21, all trends are displayed again, but the cppcheck configuration is reseted.

       

      Several errors like the following one appear in the jenking.log file when the cppcheck plugin 1.23 is installed and I try to display the job main page.

       

      Aug 08, 2018 11:19:34 AM hudson.model.Actionable createFor
      WARNING: Could not load actions from jenkins.tasks.SimpleBuildStep$LastBuildActionFactory@38b95994 for hudson.model.FreeStyleProject@61650c65[scalp_dev_THX11.1_V3Conso_nightly]
      java.lang.NullPointerException

       

        Attachments

          Activity

          Hide
          electricnico Nicolas Bunel added a comment - - edited

          There is the same problem with plugin 1.24 (all result trends disappear) with the following error

           

          Sep 19, 2018 3:48:13 PM hudson.model.Project createTransientActions
          SEVERE: Error loading publisher.
          java.lang.NullPointerException
          at org.jenkinsci.plugins.cppcheck.CppcheckPublisher.getProjectAction(CppcheckPublisher.java:105)
          at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:101)
          at hudson.model.Project.createTransientActions(Project.java:247)
          at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:731)
          at hudson.model.AbstractProject.onLoad(AbstractProject.java:323)
          at hudson.model.Project.onLoad(Project.java:97)
          at hudson.model.Items.load(Items.java:372)
          at jenkins.model.Jenkins$15.run(Jenkins.java:3075)
          at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
          at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
          at jenkins.model.Jenkins$5.runTask(Jenkins.java:1064)
          at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
          at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)

           

           

           

          Show
          electricnico Nicolas Bunel added a comment - - edited There is the same problem with plugin 1.24 (all result trends disappear) with the following error   Sep 19, 2018 3:48:13 PM hudson.model.Project createTransientActions SEVERE: Error loading publisher. java.lang.NullPointerException at org.jenkinsci.plugins.cppcheck.CppcheckPublisher.getProjectAction(CppcheckPublisher.java:105) at hudson.tasks.BuildStepCompatibilityLayer.getProjectActions(BuildStepCompatibilityLayer.java:101) at hudson.model.Project.createTransientActions(Project.java:247) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:731) at hudson.model.AbstractProject.onLoad(AbstractProject.java:323) at hudson.model.Project.onLoad(Project.java:97) at hudson.model.Items.load(Items.java:372) at jenkins.model.Jenkins$15.run(Jenkins.java:3075) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296) at jenkins.model.Jenkins$5.runTask(Jenkins.java:1064) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)      

            People

            • Assignee:
              marcosteffan Marco Steffan
              Reporter:
              electricnico Nicolas Bunel
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: