-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Windows Server 2012 host - Windows 10 build node
Jenkins 2.387.1 (LTS)
Warnings Next Generation - Version10.0.2
Analysis Model API - Version11.0.0
With an upgrade to the latest Analysis model API (10.0.2) and Warnings next generation (11.0.0), we are seeing the following exception:
[MSBuild] Parsing console log (workspace: 'E:\Jenkins\workspace\xxx-xxx\xxxxxx')
ERROR: Build step failed with exception
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from xx.xx.xx/xxx:xx:xx:xx:xxxx
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
at hudson.remoting.Channel.call(Channel.java:1000)
at hudson.FilePath.act(FilePath.java:1192)
at hudson.FilePath.act(FilePath.java:1181)
at io.jenkins.plugins.analysis.core.steps.IssuesScanner.postProcessReport(IssuesScanner.java:130)
at io.jenkins.plugins.analysis.core.steps.IssuesScanner.scan(IssuesScanner.java:106)
at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.scanWithTool(IssuesRecorder.java:809)
at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.record(IssuesRecorder.java:773)
at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:741)
at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:717)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)
at hudson.model.Build$BuildExecution.post2(Build.java:179)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711)
at hudson.model.Run.execute(Run.java:1925)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
java.util.UnknownFormatConversionException: Conversion = 'z'
at java.base/java.util.Formatter$FormatSpecifier.conversion(Formatter.java:2935)
at java.base/java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2971)
at java.base/java.util.Formatter.parse(Formatter.java:2827)
at java.base/java.util.Formatter.format(Formatter.java:2751)
at java.base/java.util.Formatter.format(Formatter.java:2705)
at java.base/java.lang.String.format(String.java:4138)
at edu.hm.hafner.analysis.Report.logError(Report.java:909)
at edu.hm.hafner.analysis.FingerprintGenerator.lambda$run$1(FingerprintGenerator.java:41)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
at edu.hm.hafner.analysis.FingerprintGenerator.run(FingerprintGenerator.java:41)
at io.jenkins.plugins.analysis.core.steps.IssuesScanner$ReportPostProcessor.createFingerprints(IssuesScanner.java:350)
at io.jenkins.plugins.analysis.core.steps.IssuesScanner$ReportPostProcessor.invoke(IssuesScanner.java:275)
at io.jenkins.plugins.analysis.core.steps.IssuesScanner$ReportPostProcessor.invoke(IssuesScanner.java:241)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3578)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:377)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
at java.base/java.lang.Thread.run(Thread.java:833)
Build step 'Record compiler warnings and static analysis results' marked build as failure
Reverted to the following to get this back up again:
Warnings Next Generation - Version9.23.1
Analysis Model API - Version10.23.1
- links to