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

NullPointerException Processing Custom Tool

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      This is probably related to JENKINS-17877. It works with JUnit but not with Custom Tool.

      [xUnit] [INFO] - Starting to record.
      [xUnit] [INFO] - Processing Custom Tool
      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:211)
      at org.jenkinsci.plugins.xunit.XUnitPublisher.performTests(XUnitPublisher.java:182)
      at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:119)
      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 com.cloudbees.plugins.flow.FlowRun$RunnerImpl.post2(FlowRun.java:210)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
      at hudson.model.Run.execute(Run.java:1600)
      at hudson.model.Run.run(Run.java:1521)
      at com.cloudbees.plugins.flow.FlowRun.run(FlowRun.java:174)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:241)
      at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)

        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/10a79251820ee036686fb1a4ab335f5d4151fb39
          Log:
          Fix JENKINS-17932

          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/10a79251820ee036686fb1a4ab335f5d4151fb39 Log: Fix JENKINS-17932
          Hide
          gbois Gregory Boissinot added a comment -

          Fixed. Sorry for the inconvenience.

          Show
          gbois Gregory Boissinot added a comment - Fixed. Sorry for the inconvenience.
          Hide
          andrzejkrentosz Andrzej Krentosz added a comment -

          It works now, thanks.

          Show
          andrzejkrentosz Andrzej Krentosz added a comment - It works now, thanks.

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              andrzejkrentosz Andrzej Krentosz
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: