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

NPE from UpdateSite$Plugin.getNeededDependencies

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      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)
      

          [JENKINS-14769] NPE from UpdateSite$Plugin.getNeededDependencies

          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/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 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 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

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

              Created:
              Updated:
              Resolved: