DependencyClassLoader#getTransitiveDependencies returns disabled plugins

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: core

      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)
      

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

              Created:
              Updated:
              Resolved: