java.lang.NullPointerException

Jenkins JIRA | Sagar Khushalani | 6 years ago
  1. 0

    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...

    Jenkins JIRA | 6 years ago | Sagar Khushalani
    java.lang.NullPointerException
  2. 0

    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...

    Jenkins JIRA | 6 years ago | Sagar Khushalani
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.thalesgroup.hudson.plugins.cppcheck.model.CppcheckWorkspaceFile.getTempName()
    2. com.thalesgroup.hudson
      CppcheckPublisher.perform
      1. com.thalesgroup.hudson.plugins.cppcheck.model.CppcheckWorkspaceFile.getTempName(CppcheckWorkspaceFile.java:79)
      2. com.thalesgroup.hudson.plugins.cppcheck.CppcheckPublisher.copyFilesFromSlaveToMaster(CppcheckPublisher.java:161)
      3. com.thalesgroup.hudson.plugins.cppcheck.CppcheckPublisher.perform(CppcheckPublisher.java:124)
      3 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:158)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      7. hudson.model.Run.run(Run.java:1296)
      8. hudson.matrix.MatrixRun.run(MatrixRun.java:137)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:129)
      10 frames