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

Plugin manager throws NPE when using update centers without categories

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.270+
    • 2.272

      This is a regression after JENKINS-64196 . Although the majority of Jenkins users rely on the https://github.com/jenkins-infra/update-center2 instance to retrieve the update details, there are other update center implementations out there. They do not implement all new features of the Jenkins update center.

      We do not have a strict update center API specification, and hence it is not possible to say what data would be returned by a particular update center. Some fields may be missing and end up as null values in the codebase. Categories is one of them, and hence https://github.com/jenkinsci/jenkins/pull/5051/files#diff-0dd3c7930da03922fff631a2cf06fbfda9b9bc688a4e5804fceda225147778a6R1399 may lead to NPE

       

       

       

       

          [JENKINS-64445] Plugin manager throws NPE when using update centers without categories

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Description Original: This is a regression after JENKINS-64196 . Although the majority of Jenkins users rely on the [https://github.com/jenkins-infra/update-center2] instance to retrieve the update details, there are other update center implementations out there. They do not implement all new features of the Jenkins update center.

          We do not have a strict update center API specification, and hence it is not possible to say what data would be returned by a particular update center. Some fields may be missing and end up as null values in the codebase. Categories is one of them

           

           

           
          New: This is a regression after JENKINS-64196 . Although the majority of Jenkins users rely on the [https://github.com/jenkins-infra/update-center2] instance to retrieve the update details, there are other update center implementations out there. They do not implement all new features of the Jenkins update center.

          We do not have a strict update center API specification, and hence it is not possible to say what data would be returned by a particular update center. Some fields may be missing and end up as null values in the codebase. Categories is one of them, and hence [https://github.com/jenkinsci/jenkins/pull/5051/files#diff-0dd3c7930da03922fff631a2cf06fbfda9b9bc688a4e5804fceda225147778a6R1399] may lead to NPE

           

           

           

           

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - https://github.com/jenkinsci/jenkins/pull/5121
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Oleg Nenashev made changes -
          Link New: This issue is caused by JENKINS-64196 [ JENKINS-64196 ]
          Mark Waite made changes -
          Released As New: 2.272
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            oleg_nenashev Oleg Nenashev
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: