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

Coverity plugin causes NullPointerException on saving job configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • coverity-plugin
    • None
    • Jenkins 1.424.1, Coverity plugin 1.0, Coverity 5.4. The Coverity binaries are only installed on some of the build slaves and not on the master.

      When the Coverity Publisher is enabled for a job, any configuration edits to the job result in the following NullPointerException on Save. The changes to non-Coverity Publisher configuration parameters are saved, but Coverity parameters like Project and Stream are not saved. Disabling the Coverity Publisher for the job results in no errors on saving configuration changes.

      Stacktrace:

      java.lang.RuntimeException: java.lang.NullPointerException
      at jenkins.plugins.coverity.CoverityPublisher$DescriptorImpl.newInstance(CoverityPublisher.java:675)
      at jenkins.plugins.coverity.CoverityPublisher$DescriptorImpl.newInstance(CoverityPublisher.java:350)
      at hudson.util.DescribableList.rebuild(DescribableList.java:155)
      at hudson.model.Project.submit(Project.java:198)
      at hudson.model.Job.doConfigSubmit(Job.java:965)
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:643)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282)
      ...

      The full stacktrace is attached.

            Unassigned Unassigned
            dbacher Dave Bacher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: