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

NPE in Descriptor when not registered Extension

    XMLWordPrintable

Details

    Attachments

      Activity

        Code changed in jenkins
        User: Kanstantsin Shautsou
        Path:
        core/src/main/java/hudson/model/Descriptor.java
        core/src/main/java/jenkins/model/Jenkins.java
        http://jenkins-ci.org/commit/jenkins/5d3b23daf7e52c511fd594665ef8d648bb7bb121
        Log:
        [FIXED JENKINS-37997] FIX NPE when descriptor is not in DescriptorList (#2536)

        For example when Descriptor was defined as field and without @Extension .

        Signed-off-by: Kanstantsin Shautsou <kanstantsin.sha@gmail.com>

        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kanstantsin Shautsou Path: core/src/main/java/hudson/model/Descriptor.java core/src/main/java/jenkins/model/Jenkins.java http://jenkins-ci.org/commit/jenkins/5d3b23daf7e52c511fd594665ef8d648bb7bb121 Log: [FIXED JENKINS-37997] FIX NPE when descriptor is not in DescriptorList (#2536) For example when Descriptor was defined as field and without @Extension . Signed-off-by: Kanstantsin Shautsou <kanstantsin.sha@gmail.com>

        People

          integer Kanstantsin Shautsou
          integer Kanstantsin Shautsou
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: