java.lang.NullPointerException

Jenkins JIRA | Fabian Pachner | 4 years ago
  1. 0

    I want to use the warnings plugin to display results of cpplint from the console. I am getting the following exception: ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception java.lang.NullPointerException at hudson.plugins.violations.util.AbsoluteFileFinder.addSourcePaths(AbsoluteFileFinder.java:20) at hudson.plugins.violations.types.cpplint.CppLintParser.parse(CppLintParser.java:44) at hudson.plugins.warnings.parser.ViolationsAdapter.parse(ViolationsAdapter.java:60) at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:317) at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:296) at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:293) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:257) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:338) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625) at hudson.model.Run.run(Run.java:1433) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) I am using warnings plugin 4.5 and violations plugin 0.7.10. If you need any further information, please ask.

    Jenkins JIRA | 4 years ago | Fabian Pachner
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    I want to use the warnings plugin to display results of cpplint from the console. I am getting the following exception: ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception java.lang.NullPointerException at hudson.plugins.violations.util.AbsoluteFileFinder.addSourcePaths(AbsoluteFileFinder.java:20) at hudson.plugins.violations.types.cpplint.CppLintParser.parse(CppLintParser.java:44) at hudson.plugins.warnings.parser.ViolationsAdapter.parse(ViolationsAdapter.java:60) at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:317) at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:296) at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:293) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:257) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:338) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625) at hudson.model.Run.run(Run.java:1433) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) I am using warnings plugin 4.5 and violations plugin 0.7.10. If you need any further information, please ask.

    Jenkins JIRA | 4 years ago | Fabian Pachner
    java.lang.NullPointerException
  4. 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

    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 hudson.plugins.violations.util.AbsoluteFileFinder.addSourcePaths()
    2. hudson.plugins.violations
      CppLintParser.parse
      1. hudson.plugins.violations.util.AbsoluteFileFinder.addSourcePaths(AbsoluteFileFinder.java:20)
      2. hudson.plugins.violations.types.cpplint.CppLintParser.parse(CppLintParser.java:44)
      2 frames
    3. hudson.plugins.warnings
      WarningsPublisher.perform
      1. hudson.plugins.warnings.parser.ViolationsAdapter.parse(ViolationsAdapter.java:60)
      2. hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:317)
      3. hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:296)
      4. hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:293)
      5. hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:257)
      5 frames
    4. Static Analysis Utilities
      HealthAwarePublisher.perform
      1. hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:338)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:703)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:678)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:656)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:162)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:625)
      7. hudson.model.Run.run(Run.java:1433)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:238)
      10 frames