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

AUTH: IllegalStateException: Singleton is called recursively returning different results

    Details

    • Similar Issues:

      Description

      Confusing warning dealing with security authentication feature?

       

      Apr 02, 2020 2:09:51 PM WARNING 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:1092)
       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.iterator(ExtensionList.java:172)
       at jenkins.model.Jenkins.getDescriptor(Jenkins.java:1565)
       at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1580)
       at hudson.security.csrf.CrumbIssuer.getDescriptor(CrumbIssuer.java:152)
       at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:131)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
       at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:169)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
       at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
       at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
       at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
       at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:36)
       at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
       at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
       at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566)
       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
       at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
       at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
       at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)
       at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215)
       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
       at org.eclipse.jetty.server.Server.handle(Server.java:500)
       at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
       at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
       at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
       at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
       at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
       at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
       at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
       at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
       at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
       at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
       at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
       at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
       at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
       at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
       at java.lang.Thread.run(Thread.java:748)

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Basile ChandesrisHi, could you please provide a full startup log?

          Show
          oleg_nenashev Oleg Nenashev added a comment - Basile Chandesris Hi, could you please provide a full startup log?
          Hide
          ankurja Ankur added a comment -

          I am seeing same errors in log.

          Attaching full log.Jenkins error.log

          Show
          ankurja Ankur added a comment - I am seeing same errors in log. Attaching full log. Jenkins error.log
          Hide
          lanwen Kirill Merkushev added a comment -

          Got that in 2.222.3

          Downgrading to 2.222.1 helped.

          Until that, jobs were enable to start

          Show
          lanwen Kirill Merkushev added a comment - Got that in 2.222.3 Downgrading to 2.222.1 helped. Until that, jobs were enable to start
          Hide
          ankurja Ankur added a comment -

          I got it on 2.222.1 LTS

          Show
          ankurja Ankur added a comment - I got it on 2.222.1 LTS

            People

            • Assignee:
              Unassigned
              Reporter:
              based3 Basile Chandesris
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: