java.lang.NullPointerException

Jenkins JIRA | Shish Moom | 4 years ago
  1. 0

    Started a new project, it builds fine and pep8 analysis is correctly printed to the log. Adding the "warnings" module to run as a post-build action, it crashes: [WARNINGS] Parsing warnings in console log with parser Pep8 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.pep8.Pep8Parser.parse(Pep8Parser.java:51) at hudson.plugins.warnings.parser.ViolationsAdapter.parse(ViolationsAdapter.java:60) at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:322) at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:301) at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:352) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:278) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:329) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632) at hudson.model.Run.run(Run.java:1463) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) Finished: FAILURE

    Jenkins JIRA | 4 years ago | Shish Moom
    java.lang.NullPointerException
  2. 0

    Started a new project, it builds fine and pep8 analysis is correctly printed to the log. Adding the "warnings" module to run as a post-build action, it crashes: [WARNINGS] Parsing warnings in console log with parser Pep8 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.pep8.Pep8Parser.parse(Pep8Parser.java:51) at hudson.plugins.warnings.parser.ViolationsAdapter.parse(ViolationsAdapter.java:60) at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:322) at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:301) at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:352) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:278) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:329) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632) at hudson.model.Run.run(Run.java:1463) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) Finished: FAILURE

    Jenkins JIRA | 4 years ago | Shish Moom
    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 hudson.plugins.violations.util.AbsoluteFileFinder.addSourcePaths()
    2. hudson.plugins.violations
      Pep8Parser.parse
      1. hudson.plugins.violations.util.AbsoluteFileFinder.addSourcePaths(AbsoluteFileFinder.java:20)
      2. hudson.plugins.violations.types.pep8.Pep8Parser.parse(Pep8Parser.java:51)
      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:322)
      3. hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:301)
      4. hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:352)
      5. hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:278)
      5 frames
    4. Static Analysis Utilities
      HealthAwareRecorder.perform
      1. hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:329)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:710)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:685)
      4. hudson.model.Build$RunnerImpl.post2(Build.java:162)
      5. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:632)
      6. hudson.model.Run.run(Run.java:1463)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:239)
      9 frames