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

NPE when Clover HTML report directory is not defined

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • cloverphp-plugin
    • None
    • CentOS release 5.6 (Final), Jenkins 1.434

    Description

      Publish Clover PHP Coverage Report is checked
      Clover XML Location is filled with a valid path
      Publish HTML Report isn't checked

      ATTENTION: Publisher org.jenkinsci.plugins.cloverphp.CloverPublisher aborted due to exception
      java.lang.NullPointerException
      at hudson.FilePath.isAbsolute(FilePath.java:228)
      at hudson.FilePath.<init>(FilePath.java:216)
      at hudson.FilePath.child(FilePath.java:923)
      at org.jenkinsci.plugins.cloverphp.CloverPublisher.perform(CloverPublisher.java:162)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647)
      at hudson.model.Build$RunnerImpl.post2(Build.java:162)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:616)
      at hudson.model.Run.run(Run.java:1429)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:230)

      To fix this I checked Publish HTML Report and filled the report directory.

      Attachments

        Activity

          jeanseb Jean-Sébastien HEDDE created issue -
          sogabe sogabe made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          sogabe sogabe made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 141634 ] JNJira + In-Review [ 189729 ]

          People

            sogabe sogabe
            jeanseb Jean-Sébastien HEDDE
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: