java.lang.NullPointerException

nutch-dev | Apache Jenkins Server | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    We have a job which triggers three other jobs and aggregates their test results using post build actions: * Aggregate post build test results (german: "Nachgelagerte Testergebnisse zusammenfassen") *- [x] Aggregate all post build jobs *- [x] Aggregate failed build result * Build jobs (german: "Weitere Projekte bauen") *- [x] trigger only on build success *- [ ] trigger even when build is instable *- [ ] trigger even when build fails When starting this job it fails quickly with an NullPointer exception: {code} Started by user anonymous Building in workspace /ps/devop/jenkins/data/jobs/selenium_firefox/workspace ERROR: Publisher hudson.tasks.test.AggregatedTestResultPublisher aborted due to exception java.lang.NullPointerException at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.getProject(AggregatedTestResultPublisher.java:173) at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:146) at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:135) at hudson.tasks.test.AggregatedTestResultPublisher.perform(AggregatedTestResultPublisher.java:90) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1703) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Finished: FAILURE {code} The aggregation is crucial for our dashboard which displays the overall testresults history chart. P.S.: Sorry, I only use the german translation, so I just guessed the actual english configuration lables above.

    Jenkins JIRA | 3 years ago | Norbert Pfistner
    java.lang.NullPointerException
  2. 0

    We have a job which triggers three other jobs and aggregates their test results using post build actions: * Aggregate post build test results (german: "Nachgelagerte Testergebnisse zusammenfassen") *- [x] Aggregate all post build jobs *- [x] Aggregate failed build result * Build jobs (german: "Weitere Projekte bauen") *- [x] trigger only on build success *- [ ] trigger even when build is instable *- [ ] trigger even when build fails When starting this job it fails quickly with an NullPointer exception: {code} Started by user anonymous Building in workspace /ps/devop/jenkins/data/jobs/selenium_firefox/workspace ERROR: Publisher hudson.tasks.test.AggregatedTestResultPublisher aborted due to exception java.lang.NullPointerException at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.getProject(AggregatedTestResultPublisher.java:173) at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:146) at hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:135) at hudson.tasks.test.AggregatedTestResultPublisher.perform(AggregatedTestResultPublisher.java:90) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1703) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Finished: FAILURE {code} The aggregation is crucial for our dashboard which displays the overall testresults history chart. P.S.: Sorry, I only use the german translation, so I just guessed the actual english configuration lables above.

    Jenkins JIRA | 3 years ago | Norbert Pfistner
    java.lang.NullPointerException
  3. 0

    Build failed in Jenkins: Nutch-nutchgora #873

    nutch-dev | 3 years ago | Apache Jenkins Server
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Build failed in Jenkins: Nutch-trunk #2476

    nutch-dev | 3 years ago | Apache Jenkins Server
    java.lang.NullPointerException
  6. 0

    Build failed in Jenkins: Nutch-nutchgora #874

    nutch-dev | 3 years ago | Apache Jenkins Server
    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.tasks.test.AggregatedTestResultPublisher$TestResultAction.getProject()
    2. Hudson
      Executor.run
      1. hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.getProject(AggregatedTestResultPublisher.java:173)
      2. hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:146)
      3. hudson.tasks.test.AggregatedTestResultPublisher$TestResultAction.<init>(AggregatedTestResultPublisher.java:135)
      4. hudson.tasks.test.AggregatedTestResultPublisher.perform(AggregatedTestResultPublisher.java:90)
      5. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      6. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      7. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
      8. hudson.model.Build$BuildExecution.post2(Build.java:183)
      9. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
      10. hudson.model.Run.execute(Run.java:1703)
      11. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      12. hudson.model.ResourceController.execute(ResourceController.java:88)
      13. hudson.model.Executor.run(Executor.java:231)
      13 frames