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

java.lang.IllegalStateException: Singleton is called recursively returning different results

    XMLWordPrintable

Details

    Description

      I just upgraded to version 3.0 (from 2.16) of this plugin, and during startup of jenkins i'm getting loads of these exceptions:

      6:21 PM (5 minutes ago)09-Jun-2020 17:40:04.359 WARNING [Handling POST /jenkins/ajaxBuildQueue from 10.136.134.38 : http-nio-8080-exec-4] hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.error Failed to instantiate Key[type=jenkins.security.QueueItemAuthenticatorConfiguration, annotation=[none]]; skipping this component        java.lang.IllegalStateException: Singleton is called recursively returning different results                at com.google.common.base.Preconditions.checkState(Preconditions.java:145)                at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:165)                at hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1.get(ExtensionFinder.java:440)                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:402)                at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:393)                at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:344)                at hudson.ExtensionList.load(ExtensionList.java:381)                at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317)                at hudson.ExtensionList.getComponents(ExtensionList.java:183)                at hudson.DescriptorExtensionList.load(DescriptorExtensionList.java:194)                at hudson.ExtensionList.ensureLoaded(ExtensionList.java:317)                at hudson.ExtensionList.iterator(ExtensionList.java:172)                at hudson.ExtensionList.getInstance(ExtensionList.java:162)                at jenkins.security.QueueItemAuthenticatorConfiguration.get(QueueItemAuthenticatorConfiguration.java:61)                at org.jenkinsci.plugins.authorizeproject.ProjectQueueItemAuthenticator.getConfigured(ProjectQueueItemAuthenticator.java:178)                at org.jenkinsci.plugins.authorizeproject.ProjectQueueItemAuthenticator.isConfigured(ProjectQueueItemAuthenticator.java:190)                at org.jenkinsci.plugins.authorizeproject.AuthorizeProjectStrategy.checkUnsecuredConfiguration(AuthorizeProjectStrategy.java:186)                at org.jenkinsci.plugins.authorizeproject.AuthorizeProjectStrategy.readResolve(AuthorizeProjectStrategy.java:176)                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)                at java.lang.reflect.Method.invoke(Method.java:498)

       

      Also, all jobs got stuck in the build queue because 'no executor could be found'. Downgrading to 2.16 fixed all issues.

      Attachments

        Activity

          People

            mawinter69 Markus Winter
            heymjo Jorg Heymans
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: