java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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...
    via by Sagar Khushalani,
  • 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...
    via by Sagar Khushalani,
    • 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)
    No Bugmate found.