-
Bug
-
Resolution: Fixed
-
Major
-
None
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