java.lang.NullPointerException

Jenkins JIRA | James Nord | 3 years ago
  1. 0

    When parsing reports the plugin thros an exception {noformat} [Cucumber Tests] Parsing results. [Cucumber Tests] parsing cucumber.json [CucumberPerfRecorder] Starting Cucumber Performance Report generation... [CucumberPerfRecorder] Reporting on performance for cucumber #87 [CucumberPerfRecorder] detected master build [CucumberPerfRecorder] running project report [CucumberPerfRecorder] build report generation complete - true [CucumberPerfRecorder] running project reports on 1 builds ERROR: Publisher com.castlemon.jenkins.performance.CucumberPerfRecorder aborted due to exception java.lang.NullPointerException at com.castlemon.jenkins.performance.util.CucumberPerfUtils.getRelevantSummaries(CucumberPerfUtils.java:36) at com.castlemon.jenkins.performance.reporting.ReportBuilder.generateScenarioReports(ReportBuilder.java:128) at com.castlemon.jenkins.performance.reporting.ReportBuilder.generateProjectReports(ReportBuilder.java:74) at com.castlemon.jenkins.performance.CucumberPerfRecorder.generateProjectReport(CucumberPerfRecorder.java:102) at com.castlemon.jenkins.performance.CucumberPerfRecorder.perform(CucumberPerfRecorder.java:71) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1618) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:242) [CucumberReportPublisher] Compiling Cucumber Html Reports ... [CucumberReportPublisher] detected this build is running on the master [CucumberReportPublisher] copying json to reports directory: C:\workarea\source\jenkinsci\cucumber-testresult-plugin\.\work\jobs\cucumber\builds\2013-10-04_14-06-20\cucumber-html-reports [CucumberReportPublisher] Generating HTML reports Finished: FAILURE {noformat} This renders the plugin unusable and causes the builds to be marked as failures.

    Jenkins JIRA | 3 years ago | James Nord
    java.lang.NullPointerException
  2. 0

    When parsing reports the plugin thros an exception {noformat} [Cucumber Tests] Parsing results. [Cucumber Tests] parsing cucumber.json [CucumberPerfRecorder] Starting Cucumber Performance Report generation... [CucumberPerfRecorder] Reporting on performance for cucumber #87 [CucumberPerfRecorder] detected master build [CucumberPerfRecorder] running project report [CucumberPerfRecorder] build report generation complete - true [CucumberPerfRecorder] running project reports on 1 builds ERROR: Publisher com.castlemon.jenkins.performance.CucumberPerfRecorder aborted due to exception java.lang.NullPointerException at com.castlemon.jenkins.performance.util.CucumberPerfUtils.getRelevantSummaries(CucumberPerfUtils.java:36) at com.castlemon.jenkins.performance.reporting.ReportBuilder.generateScenarioReports(ReportBuilder.java:128) at com.castlemon.jenkins.performance.reporting.ReportBuilder.generateProjectReports(ReportBuilder.java:74) at com.castlemon.jenkins.performance.CucumberPerfRecorder.generateProjectReport(CucumberPerfRecorder.java:102) at com.castlemon.jenkins.performance.CucumberPerfRecorder.perform(CucumberPerfRecorder.java:71) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1618) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:242) [CucumberReportPublisher] Compiling Cucumber Html Reports ... [CucumberReportPublisher] detected this build is running on the master [CucumberReportPublisher] copying json to reports directory: C:\workarea\source\jenkinsci\cucumber-testresult-plugin\.\work\jobs\cucumber\builds\2013-10-04_14-06-20\cucumber-html-reports [CucumberReportPublisher] Generating HTML reports Finished: FAILURE {noformat} This renders the plugin unusable and causes the builds to be marked as failures.

    Jenkins JIRA | 3 years ago | James Nord
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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 com.castlemon.jenkins.performance.util.CucumberPerfUtils.getRelevantSummaries()
    2. com.castlemon.jenkins
      CucumberPerfRecorder.perform
      1. com.castlemon.jenkins.performance.util.CucumberPerfUtils.getRelevantSummaries(CucumberPerfUtils.java:36)
      2. com.castlemon.jenkins.performance.reporting.ReportBuilder.generateScenarioReports(ReportBuilder.java:128)
      3. com.castlemon.jenkins.performance.reporting.ReportBuilder.generateProjectReports(ReportBuilder.java:74)
      4. com.castlemon.jenkins.performance.CucumberPerfRecorder.generateProjectReport(CucumberPerfRecorder.java:102)
      5. com.castlemon.jenkins.performance.CucumberPerfRecorder.perform(CucumberPerfRecorder.java:71)
      5 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
      4. hudson.model.Build$BuildExecution.post2(Build.java:183)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
      6. hudson.model.Run.execute(Run.java:1618)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:242)
      9 frames