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

NullPointerException processing PHPUnit after upgrading from xunit plugin 1.54 to 1.55

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      After upgrading from xunit plugin 1.54 to 1.55 I get a NullPointerException processing PHPUnit.

      Downgrading to 1.54 resolved the problem.

      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing PHPUnit-3.x (default)
      ERROR: Publisher org.jenkinsci.plugins.xunit.XUnitPublisher aborted due to exception
      java.lang.NullPointerException
      at com.thalesgroup.dtkit.metrics.hudson.api.type.MetricsType.isSkipNoTestFiles(MetricsType.java:80)
      at org.jenkinsci.plugins.xunit.XUnitPublisher.getXUnitToolInfoObject(XUnitPublisher.java:191)
      at org.jenkinsci.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:169)
      at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:116)
      at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:93)
      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:1600)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:241)
      Finished: FAILURE

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          pom.xml
          http://jenkins-ci.org/commit/xunit-plugin/c67a290c938aaea11ad9b5a2a453d13c6a669d66
          Log:
          Upgrade to dtkit-frmk 0.20 and dtkit-default-junit 0.35 for fix JENKINS-17877

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: pom.xml http://jenkins-ci.org/commit/xunit-plugin/c67a290c938aaea11ad9b5a2a453d13c6a669d66 Log: Upgrade to dtkit-frmk 0.20 and dtkit-default-junit 0.35 for fix JENKINS-17877
          Hide
          jopvanraaij Jop van Raaij added a comment -

          1.56 verified working.

          Thank you for fixing this on such short notice!

          Show
          jopvanraaij Jop van Raaij added a comment - 1.56 verified working. Thank you for fixing this on such short notice!

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              jopvanraaij Jop van Raaij
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: