-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Jenkins 1.405, clang-scanbuild 1.1
The clang-scanbuild plugin throws an NPE when saving the Hudson configuration page, after adding a clang tool installation. It was set to install automatically by downloading clang from http://clang-analyzer.llvm.org/checker/checker-255.tar.bz2
java.lang.NullPointerException jenkins.plugins.clangscanbuild.ClangScanBuildToolInstallation.removeTrailingSlashes(ClangScanBuildToolInstallation.java:39) jenkins.plugins.clangscanbuild.ClangScanBuildToolInstallation.<init>(ClangScanBuildToolInstallation.java:33) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) java.lang.reflect.Constructor.newInstance(Constructor.java:532) org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:449) org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:395) org.kohsuke.stapler.RequestImpl.bindJSONToList(RequestImpl.java:432) hudson.tools.ToolDescriptor.configure(ToolDescriptor.java:102) hudson.model.Hudson.configureDescriptor(Hudson.java:2565) hudson.model.Hudson.doConfigSubmit(Hudson.java:2518) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.lang.reflect.Method.invoke(Method.java:616)