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

DependencyClassLoader#getTransitiveDependencies returns disabled plugins

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Similar Issues:

      Description

      plugin that optionally depend on a disabled one, will get this one returned by DependencyClassLoader#getTransitiveDependencies.

      Typical result is a warning in startup logs :

       
      WARNING: Failed to scout hudson.tasks._ant.AntTargetNote$DescriptorImpl
      java.lang.InstantiationException: file:/Volumes/HD/Users/nicolas/Boulot/cloudbees/JE/cloudbees-license-plugin/work/plugins/ant/WEB-INF/classes/META-INF/annotations/hudson.Extension might need to be rebuilt: java.lang.ClassNotFoundException: hudson.tasks._ant.AntTargetNote$DescriptorImpl
      at net.java.sezpoz.IndexItem.element(IndexItem.java:144)
      at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:644)
      at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:283)
      at hudson.ExtensionList.load(ExtensionList.java:278)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ndeloof Nicolas De Loof
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: