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

NPE when saving tool installation config

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • clang-scanbuild-plugin
    • 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)
      

            jkennedy1980 Josh Kennedy
            mbetter Marcus Better
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: