LLVM scan-build jenkins plugin throws NullpointerExceptions

21 views
Skip to first unread message

Peter

unread,
Jul 26, 2022, 8:08:22 PM7/26/22
to Jenkins Users
Hi,
upgrading to jenkins weekly every now and then, i do get this in my logs since 14th of July 2022. Anyone else?

Publishing Clang scan-build results 
ERROR: Build step failed with exception
java.lang.NullPointerException at jenkins.plugins.clangscanbuild.publisher.ClangScanBuildPublisher.perform(ClangScanBuildPublisher.java:169) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816) athudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:765)
at hudson.model.Build$BuildExecution.post2(Build.java:179)
...
Build step 'Publish Clang Scan-Build Results' marked build as failure.

https://plugins.jenkins.io/clang-scanbuild/ is at version 1.8 (released 6 years ago)
LLVM scan-build used here is version 12.0.1. Any hints how to solve this issue?

 Cheers, Peter

Björn Pedersen

unread,
Jul 27, 2022, 3:46:17 AM7/27/22
to Jenkins Users
I would suggest to check if clang is supported by the warnings-ng plugin  (I would expect it does support it). 

Björn

Reply all
Reply to author
Forward
0 new messages