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

Jenkins lock metrics.xml file

    XMLWordPrintable

Details

    Description

      After error

      Code Metrics Report path: metrics.xml
      Code Metrics Report Convert Error.
      ERROR: Publisher org.jenkinsci.plugins.vs_code_metrics.VsCodeMetricsPublisher aborted due to exception
      java.lang.NullPointerException
      at org.jenkinsci.plugins.vs_code_metrics.util.CodeMetricsUtil.getCodeMetrics(CodeMetricsUtil.java:125)
      at org.jenkinsci.plugins.vs_code_metrics.VsCodeMetricsBuildAction.getCodeMetrics(VsCodeMetricsBuildAction.java:98)
      at org.jenkinsci.plugins.vs_code_metrics.VsCodeMetricsBuildAction.setMetricsValue(VsCodeMetricsBuildAction.java:109)
      at org.jenkinsci.plugins.vs_code_metrics.VsCodeMetricsBuildAction.<init>(VsCodeMetricsBuildAction.java:31)
      at org.jenkinsci.plugins.vs_code_metrics.VsCodeMetricsPublisher.perform(VsCodeMetricsPublisher.java:82)
      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:1601)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:241)

      jenkins lock metrics.xml file

      Attachments

        Activity

          Release complete.

          yasu_s Yasuyuki Saito added a comment - Release complete.

          People

            yasu_s Yasuyuki Saito
            c_r_a_s_h Nikita Egorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: