Skip to content

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

Closed

Description

@jenkins-infra-bot

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

 

 

 

 


Originally reported by oleg_nenashev, imported from: Plugin manager throws NPE when using update centers without categories
  • assignee: oleg_nenashev
  • status: Closed
  • priority: Minor
  • component(s): core
  • resolution: Fixed
  • resolved: 2020-12-22T13:49:56+00:00
  • votes: 0
  • watchers: 1
  • imported: 2025-11-24
Raw content of original issue

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

 

 

 

 

  • environment: Jenkins 2.270+

Activity

  1. jenkins-infra-bot commented on Dec 15, 2020

    @jenkins-infra-bot
    Author
    oleg_nenashev:

    #5121

  2. removed
    bugFor changelog: Minor bug. Will be listed after features
    on Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions