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

Upgrading to 0.0.24 from 0.0.23 causes Cucumber Reports plugin to Always fail with a null pointer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • Jenkins on Linux

      Upgrading from 0.0.23 to 0.0.24 causes the following stack trace every time (going back to 23 solves it).
      ERROR: Publisher net.masterthought.jenkins.CucumberReportPublisher aborted due to exception
      java.lang.NullPointerException
      at org.apache.tools.ant.DirectoryScanner.normalizePattern(DirectoryScanner.java:797)
      at org.apache.tools.ant.DirectoryScanner.setExcludes(DirectoryScanner.java:751)
      at net.masterthought.jenkins.CucumberReportPublisher.findJsonFiles(CucumberReportPublisher.java:59)
      at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:97)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
      at hudson.model.Run.execute(Run.java:1784)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)

            Unassigned Unassigned
            mecorusfc Mike Corum
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: