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

NPE from UpdateSite$Plugin.getNeededDependencies

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • core
    • None

    Description

      1.447. When configuring an update center which hosts a plugin but not all of its dependencies, if you try to install the bad plugin, Jenkins helpfully gives a 500 error:

      java.lang.NullPointerException
      	at hudson.model.UpdateSite$Plugin.getNeededDependencies(UpdateSite.java:661)
      	at hudson.model.UpdateSite$Plugin.deploy(UpdateSite.java:711)
      	at hudson.PluginManager.doInstall(PluginManager.java:589)
      

      Attachments

        Issue Links

          Activity

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/hudson/model/UpdateCenter.java
            core/src/main/java/hudson/model/UpdateSite.java
            http://jenkins-ci.org/commit/jenkins/e46e1673f103d8fb5ae5cce250063cba8f984b4b
            Log:
            [FIXED JENKINS-14769] NPE from UpdateSite$Plugin.getNeededDependencies.

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/model/UpdateCenter.java core/src/main/java/hudson/model/UpdateSite.java http://jenkins-ci.org/commit/jenkins/e46e1673f103d8fb5ae5cce250063cba8f984b4b Log: [FIXED JENKINS-14769] NPE from UpdateSite$Plugin.getNeededDependencies.
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #1852
            [FIXED JENKINS-14769] NPE from UpdateSite$Plugin.getNeededDependencies. (Revision e46e1673f103d8fb5ae5cce250063cba8f984b4b)

            Result = SUCCESS
            Jesse Glick : e46e1673f103d8fb5ae5cce250063cba8f984b4b
            Files :

            • core/src/main/java/hudson/model/UpdateSite.java
            • core/src/main/java/hudson/model/UpdateCenter.java
            • changelog.html
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1852 [FIXED JENKINS-14769] NPE from UpdateSite$Plugin.getNeededDependencies. (Revision e46e1673f103d8fb5ae5cce250063cba8f984b4b) Result = SUCCESS Jesse Glick : e46e1673f103d8fb5ae5cce250063cba8f984b4b Files : core/src/main/java/hudson/model/UpdateSite.java core/src/main/java/hudson/model/UpdateCenter.java changelog.html

            People

              Unassigned Unassigned
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: