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

Gearman Plugin should not access extensions from SaveableListener during startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • gearman-plugin
    • None

      Gearman Plugin has a SaveableListener that can result in access to ExtensionLists while extensions are still being loaded, similar to JCH in JENKINS-53998.

       

      WARNING: Failed to instantiate Key[type=hudson.plugins.openid.OpenIdLoginService$GlobalConfigurationImpl, annotation=[none]]; skipping this component
      com.google.inject.ProvisionException: Unable to provision, see the following errors:1) Tried proxying hudson.plugins.openid.OpenIdLoginService$GlobalConfigurationImpl to support a circular dependency, but it is not an interface.1 error
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:52)
      	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
      	at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:432)
      	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
      	at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
      	at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
      	at hudson.ExtensionFinder$GuiceFinder._find(ExtensionFinder.java:394)
      	at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:385)
      	at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:493)
      	at hudson.ExtensionList.load(ExtensionList.java:380)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:318)
      	at hudson.ExtensionList.getComponents(ExtensionList.java:183)
      	at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:192)
      	at hudson.ExtensionList.ensureLoaded(ExtensionList.java:318)
      	at hudson.ExtensionList.iterator(ExtensionList.java:172)
      	at hudson.ExtensionList.get(ExtensionList.java:149)
      	at hudson.plugins.gearman.GearmanPluginConfig.get(GearmanPluginConfig.java:63)
      	at hudson.plugins.gearman.SaveableListenerImpl.onChange(SaveableListenerImpl.java:48)
      	at hudson.model.listeners.SaveableListener.fireOnChange(SaveableListener.java:81)
      	at hudson.model.Descriptor.save(Descriptor.java:874)
      	at hudson.plugins.openid.OpenIdLoginService$GlobalConfigurationImpl.setEnabled(OpenIdLoginService.java:234)
      	at hudson.plugins.openid.OpenIdLoginService$GlobalConfigurationImpl.<init>(OpenIdLoginService.java:217)
       

            Unassigned Unassigned
            danielbeck Daniel Beck
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: