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

cppcheck plugin errors out near end

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cppcheck-plugin
    • Labels:
      None
    • Environment:
      Master on CentOS / Tomcat
      Slave on Mandriva 2010 (although we've seen this error on other slaves too - Windows, CentOS)
    • Similar Issues:

      Description

      The warnings are ok. They make sense, but the error at the end is new. This never used to happen before, and nothing has changed in our system.

      [Cppcheck] Starting the cppcheck analysis.
      [Cppcheck] Processing 1 files with the pattern 'Common/build/cppcheck.xml'.
      [Cppcheck] [WARNING] - The source file 'file:/hudson/dev/workspace/Common/label/S_MND_2010.1_32/src/TDSDataStream.h' doesn't exist on the slave. The ability to display its source code has been removed.
      [Cppcheck] [WARNING] - The source file 'file:/hudson/dev/workspace/Common/label/S_MND_2010.1_32/src/TDSDataStream.h' doesn't exist on the slave. The ability to display its source code has been removed.
      [Cppcheck] [WARNING] - The source file 'file:/hudson/dev/workspace/Common/label/S_MND_2010.1_32/src/test/TestTDSDataStream.cpp' doesn't exist on the slave. The ability to display its source code has been removed.
      [Cppcheck] [WARNING] - The source file 'file:/hudson/dev/workspace/Common/label/S_MND_2010.1_32/src/TDSFile.cpp' doesn't exist on the slave. The ability to display its source code has been removed.
      [Cppcheck] Not changing build status, since no threshold has been exceeded
      ERROR: Publisher com.thalesgroup.hudson.plugins.cppcheck.CppcheckPublisher aborted due to exception

      java.lang.NullPointerException
      at com.thalesgroup.hudson.plugins.cppcheck.model.CppcheckWorkspaceFile.getTempName(CppcheckWorkspaceFile.java:79)
      at com.thalesgroup.hudson.plugins.cppcheck.CppcheckPublisher.copyFilesFromSlaveToMaster(CppcheckPublisher.java:161)
      at com.thalesgroup.hudson.plugins.cppcheck.CppcheckPublisher.perform(CppcheckPublisher.java:124)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      at hudson.model.Build$RunnerImpl.post2(Build.java:158)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1296)
      at hudson.matrix.MatrixRun.run(MatrixRun.java:137)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:129)
      [htmlpublisher] Archiving HTML reports...

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              khushsk Sagar Khushalani
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: