Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19888

NPE when running plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • cucumber-perf-plugin
    • None
    • Windows 7
      master only
      jenkins 1.519
      java 1.6 update 37

      When parsing reports the plugin thros an exception

      [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
      

      This renders the plugin unusable and causes the builds to be marked as failures.

        1. cucumber.json
          425 kB
          Adam Zielinski
        2. cucumber.json
          39 kB
          Matthias Naber

            truedub Jim Gallagher
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: