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

StackOverflowError on boot related to QueueItemAuthenticatorConfiguration

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Jenkins version 2.222.1,2.249.1
      matrix-auth 2.5,2.6.2
      matrix-project 1.14,1.17

      After latest container (LTS) and plugin updates, booting the jenkins results in huge stacktraces caused by a stackoverflow error. The result is that the Jenkins seems available, the queue is filled but items cannot be worked on, because a class has not been properly loaded on boot:

      java.lang.IllegalStateException: The class jenkins.security.QueueItemAuthenticatorConfiguration was not found, potentially not yet loadedjava.lang.IllegalStateException: The class jenkins.security.QueueItemAuthenticatorConfiguration was not found, potentially not yet loaded at hudson.ExtensionList.getInstance(ExtensionList.java:166) at jenkins.security.QueueItemAuthenticatorConfiguration.get(QueueItemAuthenticatorConfiguration.java:61) at jenkins.security.QueueItemAuthenticatorConfiguration$ProviderImpl.getAuthenticators(QueueItemAuthenticatorConfiguration.java:70) at jenkins.security.QueueItemAuthenticatorProvider$IteratorImpl.hasNext(QueueItemAuthenticatorProvider.java:44) at hudson.model.Queue$Item.authenticate(Queue.java:2332) 

      The relevant source of evil is the following stacktrace which I will attach in full as a file.

      To make this pop up in searches I paste an excerpt of the stack trace here.

      at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:268)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:390)
      	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:328)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:267)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
      	at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:197)
      	at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:275)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:390)
      	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:328)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:267)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
      	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
      	at hudson.util.XStream2.unmarshal(XStream2.java:161)
      	at hudson.util.XStream2.unmarshal(XStream2.java:132)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
      	at hudson.XmlFile.unmarshal(XmlFile.java:180)
      	at hudson.XmlFile.unmarshal(XmlFile.java:163)
      	at hudson.model.Descriptor.load(Descriptor.java:914)
      	at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.onProvision(ExtensionFinder.java:601)
      	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
      	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
      	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.GeneratedMethodAccessor13.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:268)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:390)
      	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:328)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:267)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
      	at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:197)
      	at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:275)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:390)
      	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:328)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:267)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
      	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
      	at hudson.util.XStream2.unmarshal(XStream2.java:161)
      	at hudson.util.XStream2.unmarshal(XStream2.java:132)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
      	at hudson.XmlFile.unmarshal(XmlFile.java:180)
      	at hudson.XmlFile.unmarshal(XmlFile.java:163)
      	at hudson.model.Descriptor.load(Descriptor.java:914)
      	at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.onProvision(ExtensionFinder.java:601)
      	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
      	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
      	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.GeneratedMethodAccessor13.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:268)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:390)
      	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:328)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:267)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      	at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
      	at hudson.util.CopyOnWriteList$ConverterImpl.unmarshal(CopyOnWriteList.java:197)
      	at hudson.util.DescribableList$ConverterImpl.unmarshal(DescribableList.java:275)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:390)
      	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:328)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:267)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
      	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189)
      	at hudson.util.XStream2.unmarshal(XStream2.java:161)
      	at hudson.util.XStream2.unmarshal(XStream2.java:132)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173)
      	at hudson.XmlFile.unmarshal(XmlFile.java:180)
      	at hudson.XmlFile.unmarshal(XmlFile.java:163)
      	at hudson.model.Descriptor.load(Descriptor.java:914)
      	at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at hudson.ExtensionFinder$GuiceFinder$SezpozModule.onProvision(ExtensionFinder.java:601)
      	at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:126)
      	at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
      	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:87)
      	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
      	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
      	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
      	at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
      	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)
      

      Important note: I "fixed" my jenkins by manually emptying the queue and moving my init.groovy away. I.e., only this snippet (which has been working until now) is now causing this behavior:

      After a reboot without this hook, everything works as expected. However, I really need this hook as a workaround for another bug in a different plugin. And as I said - this has been working for months before.

          [JENKINS-61990] StackOverflowError on boot related to QueueItemAuthenticatorConfiguration

          Daniel Beck added a comment -

          What does this have to do with matrix-auth plugin and/or matrix-project plugin?

          Daniel Beck added a comment - What does this have to do with matrix-auth plugin and/or matrix-project plugin?

          I assumed a connetion due to

          	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)
          

          but I might be wrong. I am not familiar with the numerous components.

          Sir Tumbleweed added a comment - I assumed a connetion due to 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) but I might be wrong. I am not familiar with the numerous components.

          Daniel Beck added a comment -

          That's yet another plugin, but likely unrelated too.

          Daniel Beck added a comment - That's yet another plugin, but likely unrelated too.

          Sir Tumbleweed added a comment - - edited

          One more thing that points me in this direction (or this 'other' plugin's direction):
          I thought moving out my init.groovy fixed the issue for me, but after next reboot the stackoverflow returned. So I continued digging and disabled the following block from an organization folder config brought the actual relief.

          <com.cloudbees.hudson.plugins.folder.properties.AuthorizationMatrixProperty>
                <inheritanceStrategy class="org.jenkinsci.plugins.matrixauth.inheritance.InheritParentStrategy"/>
                <permission>hudson.model.Item.Discover:myldapgroup</permission>
                <permission>hudson.model.Item.Read:myldapgroup</permission>
                <permission>hudson.model.Item.Workspace:myldapgroup</permission>
                <permission>hudson.model.View.Read:myldapgroup</permission>
              </com.cloudbees.hudson.plugins.folder.properties.AuthorizationMatrixProperty>
          

          There seems to be a circle in this per-project authorization configuration. But it's not clear to me why. After disabling this, my init.groovy also started working again, so I'll remove that hint from the original issue description.

          Edit: I think I narrowed it down to the Discover permission, which is implied by Item.Read and the validator in the frontend disallows selecting Discover when Item.Read is selected. Would be nice if there was a more tolerant handling to avoid this stack overflow of Jenkins though.

          Sir Tumbleweed added a comment - - edited One more thing that points me in this direction (or this 'other' plugin's direction): I thought moving out my init.groovy fixed the issue for me, but after next reboot the stackoverflow returned. So I continued digging and disabled the following block from an organization folder config brought the actual relief. <com.cloudbees.hudson.plugins.folder.properties.AuthorizationMatrixProperty> <inheritanceStrategy class="org.jenkinsci.plugins.matrixauth.inheritance.InheritParentStrategy"/> <permission>hudson.model.Item.Discover:myldapgroup</permission> <permission>hudson.model.Item.Read:myldapgroup</permission> <permission>hudson.model.Item.Workspace:myldapgroup</permission> <permission>hudson.model.View.Read:myldapgroup</permission> </com.cloudbees.hudson.plugins.folder.properties.AuthorizationMatrixProperty> There seems to be a circle in this per-project authorization configuration. But it's not clear to me why. After disabling this, my init.groovy also started working again, so I'll remove that hint from the original issue description. Edit: I think I narrowed it down to the Discover permission, which is implied by Item.Read and the validator in the frontend disallows selecting Discover when Item.Read is selected. Would be nice if there was a more tolerant handling to avoid this stack overflow of Jenkins though.

          My last assumptions were wrong. The error still kept popping up, but it was hard to reproduce. Sometimes it showed after reboot without any prior config change. Sometimes it appeared despite there was a configuration in place, that seemed to work before.

          My latest theory, after I also reproduced this error without my additional LDAP group/user permissions, is a collision between different privileges for anonymous users (global) and in the per-project matrix. We use the InheritParentStrategy (but it also happens with the InheritGlobalStrategy) and for whatever reason when you enable the per-project matrix, it automatically adds the anonymous user without any privileges and you cannot remove this. It's a contrast to our global permissions, though, which grant anonymous users the ViewStatus privilege.

          It seems like (sometimes) Jenkins cannot resolve this contradiction. My latest workaround is to also grant the anonymous user this ViewStatus privilege in my per-project matrix to avoid this contradiction and since then I couldn't reproduce the stack overflow anymore.

          To summarize:

          • give the anonymous user some privilege other than nothing at all
          • activate a per-project matrix
            • leave all checkboxes for the anonymous user empty, i.e. produce a contradiction between global and per-project permission
          • what's weird - we had such configuration before on a different organization folder and it didn't cause this circle which makes it feel non-deterministic but there's probably a logic to it

          Sir Tumbleweed added a comment - My last assumptions were wrong. The error still kept popping up, but it was hard to reproduce. Sometimes it showed after reboot without any prior config change. Sometimes it appeared despite there was a configuration in place, that seemed to work before. My latest theory, after I also reproduced this error without my additional LDAP group/user permissions, is a collision between different privileges for anonymous users (global) and in the per-project matrix. We use the InheritParentStrategy (but it also happens with the InheritGlobalStrategy) and for whatever reason when you enable the per-project matrix, it automatically adds the anonymous user without any privileges and you cannot remove this. It's a contrast to our global permissions, though, which grant anonymous users the ViewStatus privilege. It seems like (sometimes) Jenkins cannot resolve this contradiction. My latest workaround is to also grant the anonymous user this ViewStatus privilege in my per-project matrix to avoid this contradiction and since then I couldn't reproduce the stack overflow anymore. To summarize: give the anonymous user some privilege other than nothing at all activate a per-project matrix leave all checkboxes for the anonymous user empty, i.e. produce a contradiction between global and per-project permission what's weird - we had such configuration before on a different organization folder and it didn't cause this circle which makes it feel non-deterministic but there's probably a logic to it

          Daniel Beck added a comment -

          it automatically adds the anonymous user without any privileges and you cannot remove this. It's a contrast to our global permissions, though, which grant anonymous users the ViewStatus privilege.

          It seems like (sometimes) Jenkins cannot resolve this contradiction.

          The UI doesn't matter here, table rows (i.e. users/groups) without any permissions granted aren't saved, you can see that in config.xml that will not have entries for anonymous unless you grant permissions.

          Daniel Beck added a comment - it automatically adds the anonymous user without any privileges and you cannot remove this. It's a contrast to our global permissions, though, which grant anonymous users the ViewStatus privilege. It seems like (sometimes) Jenkins cannot resolve this contradiction. The UI doesn't matter here, table rows (i.e. users/groups) without any permissions granted aren't saved, you can see that in config.xml that will not have entries for anonymous unless you grant permissions.

          We have this issue too.

          I have tracked down the problem and it seems to be caused by the security check in the deserialization of AuthorizeProjectStrategy.java

          During deserialization of the configuration, the method  readResolve() is called and this method will call checkUnsecuredConfiguration().

          If current authentication is not ACL.SYSTEM, ProjectQueueItemAuthenticator.isConfigured() will get called and the infinite loop begins, since this method will try to deserialize the configuration again ...

           

          I do not know why the authentication is not ACL.SYSTEM at this time, but maybe it is an issue with scheduled jobs?

          The problem was introduced when refactoring readResolve() in commit https://github.com/jenkinsci/authorize-project-plugin/commit/c0aae28565e5e5e7b96c127c5399aa2b8d6b746c

           

          Please fix this issue, since it is not possible to configure a global strategy without loosing the ability to restart jenkins properly.

          Andre Szünstein added a comment - We have this issue too. I have tracked down the problem and it seems to be caused by the security check in the deserialization of  AuthorizeProjectStrategy.java During deserialization of the configuration, the method  readResolve() is called and this method will call checkUnsecuredConfiguration(). If current authentication is not ACL.SYSTEM, ProjectQueueItemAuthenticator.isConfigured() will get called and the infinite loop begins, since this method will try to deserialize the configuration again ...   I do not know why the authentication is not ACL.SYSTEM at this time, but maybe it is an issue with scheduled jobs? The problem was introduced when refactoring readResolve() in commit  https://github.com/jenkinsci/authorize-project-plugin/commit/c0aae28565e5e5e7b96c127c5399aa2b8d6b746c   Please fix this issue, since it is not possible to configure a global strategy without loosing the ability to restart jenkins properly.

          Daniel Beck added a comment -

          szuenstein_steag

          I have tracked down the problem and it seems to be caused by the security check in the deserialization … The problem was introduced when refactoring readResolve() in commit

          Could you clarify whether you're saying this issue has been present for three years, undetected, or whether it's just now apparent due to recent core changes?

          Daniel Beck added a comment - szuenstein_steag I have tracked down the problem and it seems to be caused by the security check in the deserialization … The problem was introduced when refactoring readResolve() in commit Could you clarify whether you're saying this issue has been present for three years, undetected, or whether it's just now apparent due to recent core changes?

          The problem does not occur with an older jenkins version (around 2.190), and so I believe the bug does appear now due to some changes in the core.

          I did only a static analyzation of the generated call stack by folling the source code, no debugging ... I do not know why the first check does not suceed before the configuration is loaded at startup.

          And yes, the possibility for the loop itself is in the code for 3 years. Checking the authorization in a method that is called when reading the authorization configuration is not a good idea, if the check will result in reading the config again ...

          Here are some log lines, when starting jenkins ... I have shortened the call stacks. Maybe this will help to get down to the problem ...

          2020-04-29 07:14:31.980+0000 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
          2020-04-29 07:14:31.980+0000 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
          2020-04-29 07:14:31.984+0000 [id=29] INFO jenkins.model.Jenkins$5#runTask: Took 0ms for null by pool-6-thread-1
          2020-04-29 07:14:31.984+0000 [id=29] INFO jenkins.model.Jenkins$5#runTask: Took 0ms for null by pool-6-thread-1
          2020-04-29 07:14:31.992+0000 [id=31] INFO jenkins.model.Jenkins$5#runTask: Took 8ms for Contributed.load by pool-6-thread-3
          2020-04-29 07:14:32.117+0000 [id=34] INFO jenkins.model.Jenkins$5#runTask: Took 133ms for Resolving Dependent Plugins Graph by pool-6-thread-6
          2020-04-29 07:14:33.204+0000 [id=39] WARNING hudson.model.Descriptor#load: Failed to load D:\Jenkins\jenkins.security.QueueItemAuthenticatorConfiguration.xml
          java.lang.StackOverflowError at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:344)
          ...
          at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:344)
          at hudson.ExtensionList.load(ExtensionList.java:381)
          Caused: java.io.IOException: Unable to read D:\Jenkins\jenkins.security.QueueItemAuthenticatorConfiguration.xml
          at hudson.XmlFile.unmarshal(XmlFile.java:183)
          at hudson.XmlFile.unmarshal(XmlFile.java:163)
          at hudson.model.Descriptor.load(Descriptor.java:914)
          ...
          at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:393)
          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)
          ...

           

          Kind regards,

          Andre Szünstein added a comment - The problem does not occur with an older jenkins version (around 2.190), and so I believe the bug does appear now due to some changes in the core. I did only a static analyzation of the generated call stack by folling the source code, no debugging ... I do not know why the first check does not suceed before the configuration is loaded at startup. And yes, the possibility for the loop itself is in the code for 3 years. Checking the authorization in a method that is called when reading the authorization configuration is not a good idea, if the check will result in reading the config again ... Here are some log lines, when starting jenkins ... I have shortened the call stacks. Maybe this will help to get down to the problem ... 2020-04-29 07:14:31.980+0000 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins 2020-04-29 07:14:31.980+0000 [id=34] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins 2020-04-29 07:14:31.984+0000 [id=29] INFO jenkins.model.Jenkins$5#runTask: Took 0ms for null by pool-6-thread-1 2020-04-29 07:14:31.984+0000 [id=29] INFO jenkins.model.Jenkins$5#runTask: Took 0ms for null by pool-6-thread-1 2020-04-29 07:14:31.992+0000 [id=31] INFO jenkins.model.Jenkins$5#runTask: Took 8ms for Contributed.load by pool-6-thread-3 2020-04-29 07:14:32.117+0000 [id=34] INFO jenkins.model.Jenkins$5#runTask: Took 133ms for Resolving Dependent Plugins Graph by pool-6-thread-6 2020-04-29 07:14:33.204+0000 [id=39] WARNING hudson.model.Descriptor#load: Failed to load D:\Jenkins\jenkins.security.QueueItemAuthenticatorConfiguration.xml java.lang.StackOverflowError at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:344) ... at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:344) at hudson.ExtensionList.load(ExtensionList.java:381) Caused: java.io.IOException: Unable to read D:\Jenkins\jenkins.security.QueueItemAuthenticatorConfiguration.xml at hudson.XmlFile.unmarshal(XmlFile.java:183) at hudson.XmlFile.unmarshal(XmlFile.java:163) at hudson.model.Descriptor.load(Descriptor.java:914) ... at hudson.ExtensionFinder$GuiceFinder.find(ExtensionFinder.java:393) 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) ...   Kind regards,

          Daniel Beck added a comment -

          Would be interesting to know in which Jenkins version this broke.

          My guess is that 2.220 is a good candidate (i.e. it still worked in 2.219).

          Daniel Beck added a comment - Would be interesting to know in which Jenkins version this broke. My guess is that 2.220 is a good candidate (i.e. it still worked in 2.219).

          Hi!

          Same issue here. Seems to be random when the instance is rebooted. We didn't notice anything on the previous LTS 2.190

          We are running jenkins on kubernetes

          The strange thing is that it seems to happen when Jenkins is rebooted after a plugin upgrade or a Jenkins.restart(). Doesn't seems to happen when the container is restarted or moved to an other node. But cannot confirm and not sure if it makes a difference about restart.

          Core : 2.222.3
          Plugins :
          
          ace-editor:1.1
          allure-jenkins-plugin:2.28.1
          analysis-model-api:8.0.1
          ansicolor:0.6.3
          ant:1.11
          antisamy-markup-formatter:2.0
          apache-httpcomponents-client-4-api:4.5.10-2.0
          appcenter:0.9.0
          atlassian-bitbucket-server-integration:1.1.0
          authentication-tokens:1.3
          authorize-project:1.3.0
          aws-credentials:1.28
          aws-java-sdk:1.11.723
          azure-ad:1.2.0
          azure-commons:1.0.4
          azure-credentials:2.0.2
          azure-keyvault:1.9
          azure-vm-agents:1.4.0
          badge:1.8
          basic-branch-build-strategies:1.3.2
          bootstrap4-api:4.4.1-10
          bouncycastle-api:2.18
          branch-api:2.5.5
          build-monitor-plugin:1.12+build.201809061734
          build-timeout:1.19.1
          build-token-root:1.6
          build-user-vars-plugin:1.5
          chatter-notifier:2.1.1
          cloud-stats:0.25
          cloudbees-bitbucket-branch-source:2.7.0
          cloudbees-folder:6.11.1
          code-coverage-api:1.1.5
          command-launcher:1.4
          config-file-provider:3.6.3
          configuration-as-code:1.36
          copyartifact:1.43.1
          credentials-binding:1.23
          credentials:2.3.5
          cron_column:1.4
          crowd2:2.0.2
          cucumber-reports:5.0.2
          custom-tools-plugin:0.7
          data-tables-api:1.10.20-14
          datatheorem-mobile-app-security:2.0.2
          dependency-check-jenkins-plugin:5.1.1
          display-url-api:2.3.2
          docker-commons:1.16
          docker-workflow:1.23
          durable-task:1.34
          echarts-api:4.6.0-8
          email-ext:2.69
          extended-choice-parameter:0.78
          external-monitor-job:1.7
          extra-tool-installers:0.5
          file-operations:1.9
          font-awesome-api:5.12.0-7
          forensics-api:0.7.0
          fortify-on-demand-uploader:5.0.1
          git-client:3.2.1
          git-server:1.9
          git:4.2.2
          github-api:1.106
          github-branch-source:2.6.0
          github:1.29.5
          google-oauth-plugin:1.0.0
          google-play-android-publisher:3.0
          gradle:1.36
          gravatar:2.1
          groovy-postbuild:2.5
          handlebars:1.1.1
          handy-uri-templates-2-api:2.1.8-1.0
          hashicorp-vault-plugin:3.2.0
          htmlpublisher:1.22
          http_request:1.8.24
          ivy:2.1
          jackson2-api:2.10.3
          javadoc:1.5
          jdk-tool:1.4
          job-dsl:1.77
          jobConfigHistory:2.25
          jquery-detached:1.2.1
          jquery3-api:3.4.1-10
          jquery:1.12.4-1
          jsch:0.1.55.2
          junit:1.28
          kubernetes-cd:2.3.0
          kubernetes-client-api:4.8.0-1
          kubernetes-credentials:0.6.2
          kubernetes:1.25.1
          ldap:1.21
          locale:1.4
          lockable-resources:2.7
          logfilesizechecker:1.5
          login-theme:1.1
          mailer:1.30
          mapdb-api:1.0.9.0
          matrix-auth:2.5
          matrix-project:1.14
          maven-plugin:3.5
          mercurial:2.8
          metrics:4.0.2.6
          momentjs:1.1.1
          next-executions:1.0.15
          nodejs:1.3.4
          oauth-credentials:0.4
          pam-auth:1.6
          pipeline-aws:1.41
          pipeline-build-step:2.12
          pipeline-github-lib:1.0
          pipeline-graph-analysis:1.10
          pipeline-input-step:2.11
          pipeline-milestone-step:1.3.1
          pipeline-model-api:1.6.0
          pipeline-model-declarative-agent:1.1.1
          pipeline-model-definition:1.6.0
          pipeline-model-extensions:1.6.0
          pipeline-rest-api:2.13
          pipeline-stage-step:2.3
          pipeline-stage-tags-metadata:1.6.0
          pipeline-stage-view:2.13
          pipeline-utility-steps:2.5.0
          plain-credentials:1.7
          plugin-util-api:1.0.2
          popper-api:1.16.0-6
          prometheus:2.0.6
          promoted-builds:3.5
          resource-disposer:0.14
          scm-api:2.6.3
          script-security:1.71
          simple-theme-plugin:0.6
          skip-notifications-trait:1.0.5
          sonar:2.11
          ssh-agent:1.19
          ssh-credentials:1.18.1
          ssh-slaves:1.31.1
          structs:1.20
          subversion:2.13.1
          tap:2.3
          timestamper:1.11.2
          token-macro:2.12
          trilead-api:1.0.6
          uno-choice:2.2.2
          variant:1.3
          view-job-filters:2.1.1
          violation-comments-to-stash:1.116
          warnings-ng:8.1.0
          windows-slaves:1.6
          workflow-aggregator:2.6
          workflow-api:2.40
          workflow-basic-steps:2.19
          workflow-cps-global-lib:2.16
          workflow-cps:2.80
          workflow-durable-task-step:2.35
          workflow-job:2.38
          workflow-multibranch:2.21
          workflow-scm-step:2.10
          workflow-step-api:2.22
          workflow-support:3.4
          ws-cleanup:0.38
          

          As it seems related to authorization config, here what we have

            <authorizationStrategy class="hudson.security.ProjectMatrixAuthorizationStrategy">
              <permission>hudson.model.Computer.Connect:*************</permission>
              <permission>hudson.model.Computer.Connect:*************</permission>
              <permission>hudson.model.Computer.Connect:*************</permission>
              <permission>hudson.model.Computer.Connect:*************</permission>
              <permission>hudson.model.Computer.Connect:*************</permission>
              <permission>hudson.model.Computer.Delete:*************</permission>
              <permission>hudson.model.Computer.Delete:*************</permission>
              <permission>hudson.model.Computer.Delete:*************</permission>
              <permission>hudson.model.Computer.Delete:*************</permission>
              <permission>hudson.model.Computer.Delete:*************</permission>
              <permission>hudson.model.Computer.Disconnect:*************</permission>
              <permission>hudson.model.Computer.Disconnect:*************</permission>
              <permission>hudson.model.Computer.Disconnect:*************</permission>
              <permission>hudson.model.Computer.Disconnect:*************</permission>
              <permission>hudson.model.Computer.Disconnect:*************</permission>
              <permission>hudson.model.Hudson.Administer:*************</permission>
              <permission>hudson.model.Hudson.Read:*************</permission>
              <permission>hudson.model.Hudson.Read:*************</permission>
              <permission>hudson.model.Hudson.Read:*************</permission>
              <permission>hudson.model.Hudson.Read:*************</permission>
              <permission>hudson.model.Hudson.Read:*************</permission>
              <permission>hudson.model.Item.Build:*************</permission>
              <permission>hudson.model.Item.Build:*************</permission>
              <permission>hudson.model.Item.Build:*************</permission>
              <permission>hudson.model.Item.Build:*************</permission>
              <permission>hudson.model.Item.Build:*************</permission>
              <permission>hudson.model.Item.Cancel:*************</permission>
              <permission>hudson.model.Item.Cancel:*************</permission>
              <permission>hudson.model.Item.Cancel:*************</permission>
              <permission>hudson.model.Item.Cancel:*************</permission>
              <permission>hudson.model.Item.Cancel:*************</permission>
              <permission>hudson.model.Item.Configure:*************</permission>
              <permission>hudson.model.Item.Create:*************</permission>
              <permission>hudson.model.Item.Delete:*************</permission>
              <permission>hudson.model.Item.Discover:*************</permission>
              <permission>hudson.model.Item.Discover:*************</permission>
              <permission>hudson.model.Item.Discover:*************</permission>
              <permission>hudson.model.Item.Discover:*************</permission>
              <permission>hudson.model.Item.Discover:*************</permission>
              <permission>hudson.model.Item.Move:*************</permission>
              <permission>hudson.model.Item.Read:*************</permission>
              <permission>hudson.model.Item.Read:*************</permission>
              <permission>hudson.model.Item.Read:*************</permission>
              <permission>hudson.model.Item.Read:*************</permission>
              <permission>hudson.model.Item.Read:*************</permission>
              <permission>hudson.model.Item.Workspace:*************</permission>
              <permission>hudson.model.Item.Workspace:*************</permission>
              <permission>hudson.model.Item.Workspace:*************</permission>
              <permission>hudson.model.Item.Workspace:*************</permission>
              <permission>hudson.model.Item.Workspace:*************</permission>
              <permission>hudson.model.Run.Delete:*************</permission>
              <permission>hudson.model.Run.Delete:*************</permission>
              <permission>hudson.model.Run.Delete:*************</permission>
              <permission>hudson.model.Run.Delete:*************</permission>
              <permission>hudson.model.Run.Delete:*************</permission>
              <permission>hudson.model.Run.Replay:*************</permission>
              <permission>hudson.model.Run.Replay:*************</permission>
              <permission>hudson.model.Run.Replay:*************</permission>
              <permission>hudson.model.Run.Replay:*************</permission>
              <permission>hudson.model.Run.Replay:*************</permission>
              <permission>hudson.model.Run.Update:*************</permission>
              <permission>hudson.model.Run.Update:*************</permission>
              <permission>hudson.model.Run.Update:*************</permission>
              <permission>hudson.model.Run.Update:*************</permission>
              <permission>hudson.model.Run.Update:*************</permission>
              <permission>jenkins.metrics.api.Metrics.View:*************</permission>
            </authorizationStrategy>
            <securityRealm class="de.theit.jenkins.crowd.CrowdSecurityRealm" plugin="crowd2@2.0.2">
              <url>*************</url>
              <applicationName>************</applicationName>
              <password>***********</password>
              <group>********************</group>
              <nestedGroups>false</nestedGroups>
              <useSSO>false</useSSO>
              <sessionValidationInterval>2</sessionValidationInterval>
              <cookieDomain></cookieDomain>
              <cookieTokenkey>crowd.token_key</cookieTokenkey>
              <useProxy>false</useProxy>
              <httpProxyHost></httpProxyHost>
              <httpProxyPort></httpProxyPort>
              <httpProxyUsername></httpProxyUsername>
              <httpProxyPassword>********************</httpProxyPassword>
              <socketTimeout>20000</socketTimeout>
              <httpTimeout>5000</httpTimeout>
              <httpMaxConnections>20</httpMaxConnections>
            </securityRealm>
          

          Thanks!

          Valentin Delaye added a comment - Hi! Same issue here. Seems to be random when the instance is rebooted. We didn't notice anything on the previous LTS 2.190 We are running jenkins on kubernetes The strange thing is that it seems to happen when Jenkins is rebooted after a plugin upgrade or a Jenkins.restart(). Doesn't seems to happen when the container is restarted or moved to an other node. But cannot confirm and not sure if it makes a difference about restart. Core : 2.222.3 Plugins : ace-editor:1.1 allure-jenkins-plugin:2.28.1 analysis-model-api:8.0.1 ansicolor:0.6.3 ant:1.11 antisamy-markup-formatter:2.0 apache-httpcomponents-client-4-api:4.5.10-2.0 appcenter:0.9.0 atlassian-bitbucket-server-integration:1.1.0 authentication-tokens:1.3 authorize-project:1.3.0 aws-credentials:1.28 aws-java-sdk:1.11.723 azure-ad:1.2.0 azure-commons:1.0.4 azure-credentials:2.0.2 azure-keyvault:1.9 azure-vm-agents:1.4.0 badge:1.8 basic-branch-build-strategies:1.3.2 bootstrap4-api:4.4.1-10 bouncycastle-api:2.18 branch-api:2.5.5 build-monitor-plugin:1.12+build.201809061734 build-timeout:1.19.1 build-token-root:1.6 build-user-vars-plugin:1.5 chatter-notifier:2.1.1 cloud-stats:0.25 cloudbees-bitbucket-branch-source:2.7.0 cloudbees-folder:6.11.1 code-coverage-api:1.1.5 command-launcher:1.4 config-file-provider:3.6.3 configuration-as-code:1.36 copyartifact:1.43.1 credentials-binding:1.23 credentials:2.3.5 cron_column:1.4 crowd2:2.0.2 cucumber-reports:5.0.2 custom-tools-plugin:0.7 data-tables-api:1.10.20-14 datatheorem-mobile-app-security:2.0.2 dependency-check-jenkins-plugin:5.1.1 display-url-api:2.3.2 docker-commons:1.16 docker-workflow:1.23 durable-task:1.34 echarts-api:4.6.0-8 email-ext:2.69 extended-choice-parameter:0.78 external-monitor-job:1.7 extra-tool-installers:0.5 file-operations:1.9 font-awesome-api:5.12.0-7 forensics-api:0.7.0 fortify-on-demand-uploader:5.0.1 git-client:3.2.1 git-server:1.9 git:4.2.2 github-api:1.106 github-branch-source:2.6.0 github:1.29.5 google-oauth-plugin:1.0.0 google-play-android-publisher:3.0 gradle:1.36 gravatar:2.1 groovy-postbuild:2.5 handlebars:1.1.1 handy-uri-templates-2-api:2.1.8-1.0 hashicorp-vault-plugin:3.2.0 htmlpublisher:1.22 http_request:1.8.24 ivy:2.1 jackson2-api:2.10.3 javadoc:1.5 jdk-tool:1.4 job-dsl:1.77 jobConfigHistory:2.25 jquery-detached:1.2.1 jquery3-api:3.4.1-10 jquery:1.12.4-1 jsch:0.1.55.2 junit:1.28 kubernetes-cd:2.3.0 kubernetes-client-api:4.8.0-1 kubernetes-credentials:0.6.2 kubernetes:1.25.1 ldap:1.21 locale:1.4 lockable-resources:2.7 logfilesizechecker:1.5 login-theme:1.1 mailer:1.30 mapdb-api:1.0.9.0 matrix-auth:2.5 matrix-project:1.14 maven-plugin:3.5 mercurial:2.8 metrics:4.0.2.6 momentjs:1.1.1 next-executions:1.0.15 nodejs:1.3.4 oauth-credentials:0.4 pam-auth:1.6 pipeline-aws:1.41 pipeline-build-step:2.12 pipeline-github-lib:1.0 pipeline-graph-analysis:1.10 pipeline-input-step:2.11 pipeline-milestone-step:1.3.1 pipeline-model-api:1.6.0 pipeline-model-declarative-agent:1.1.1 pipeline-model-definition:1.6.0 pipeline-model-extensions:1.6.0 pipeline- rest -api:2.13 pipeline-stage-step:2.3 pipeline-stage-tags-metadata:1.6.0 pipeline-stage-view:2.13 pipeline-utility-steps:2.5.0 plain-credentials:1.7 plugin-util-api:1.0.2 popper-api:1.16.0-6 prometheus:2.0.6 promoted-builds:3.5 resource-disposer:0.14 scm-api:2.6.3 script-security:1.71 simple-theme-plugin:0.6 skip-notifications-trait:1.0.5 sonar:2.11 ssh-agent:1.19 ssh-credentials:1.18.1 ssh-slaves:1.31.1 structs:1.20 subversion:2.13.1 tap:2.3 timestamper:1.11.2 token-macro:2.12 trilead-api:1.0.6 uno-choice:2.2.2 variant:1.3 view-job-filters:2.1.1 violation-comments-to-stash:1.116 warnings-ng:8.1.0 windows-slaves:1.6 workflow-aggregator:2.6 workflow-api:2.40 workflow-basic-steps:2.19 workflow-cps-global-lib:2.16 workflow-cps:2.80 workflow-durable-task-step:2.35 workflow-job:2.38 workflow-multibranch:2.21 workflow-scm-step:2.10 workflow-step-api:2.22 workflow-support:3.4 ws-cleanup:0.38 As it seems related to authorization config, here what we have <authorizationStrategy class= "hudson.security.ProjectMatrixAuthorizationStrategy" > <permission>hudson.model.Computer.Connect:*************</permission> <permission>hudson.model.Computer.Connect:*************</permission> <permission>hudson.model.Computer.Connect:*************</permission> <permission>hudson.model.Computer.Connect:*************</permission> <permission>hudson.model.Computer.Connect:*************</permission> <permission>hudson.model.Computer.Delete:*************</permission> <permission>hudson.model.Computer.Delete:*************</permission> <permission>hudson.model.Computer.Delete:*************</permission> <permission>hudson.model.Computer.Delete:*************</permission> <permission>hudson.model.Computer.Delete:*************</permission> <permission>hudson.model.Computer.Disconnect:*************</permission> <permission>hudson.model.Computer.Disconnect:*************</permission> <permission>hudson.model.Computer.Disconnect:*************</permission> <permission>hudson.model.Computer.Disconnect:*************</permission> <permission>hudson.model.Computer.Disconnect:*************</permission> <permission>hudson.model.Hudson.Administer:*************</permission> <permission>hudson.model.Hudson.Read:*************</permission> <permission>hudson.model.Hudson.Read:*************</permission> <permission>hudson.model.Hudson.Read:*************</permission> <permission>hudson.model.Hudson.Read:*************</permission> <permission>hudson.model.Hudson.Read:*************</permission> <permission>hudson.model.Item.Build:*************</permission> <permission>hudson.model.Item.Build:*************</permission> <permission>hudson.model.Item.Build:*************</permission> <permission>hudson.model.Item.Build:*************</permission> <permission>hudson.model.Item.Build:*************</permission> <permission>hudson.model.Item.Cancel:*************</permission> <permission>hudson.model.Item.Cancel:*************</permission> <permission>hudson.model.Item.Cancel:*************</permission> <permission>hudson.model.Item.Cancel:*************</permission> <permission>hudson.model.Item.Cancel:*************</permission> <permission>hudson.model.Item.Configure:*************</permission> <permission>hudson.model.Item.Create:*************</permission> <permission>hudson.model.Item.Delete:*************</permission> <permission>hudson.model.Item.Discover:*************</permission> <permission>hudson.model.Item.Discover:*************</permission> <permission>hudson.model.Item.Discover:*************</permission> <permission>hudson.model.Item.Discover:*************</permission> <permission>hudson.model.Item.Discover:*************</permission> <permission>hudson.model.Item.Move:*************</permission> <permission>hudson.model.Item.Read:*************</permission> <permission>hudson.model.Item.Read:*************</permission> <permission>hudson.model.Item.Read:*************</permission> <permission>hudson.model.Item.Read:*************</permission> <permission>hudson.model.Item.Read:*************</permission> <permission>hudson.model.Item.Workspace:*************</permission> <permission>hudson.model.Item.Workspace:*************</permission> <permission>hudson.model.Item.Workspace:*************</permission> <permission>hudson.model.Item.Workspace:*************</permission> <permission>hudson.model.Item.Workspace:*************</permission> <permission>hudson.model.Run.Delete:*************</permission> <permission>hudson.model.Run.Delete:*************</permission> <permission>hudson.model.Run.Delete:*************</permission> <permission>hudson.model.Run.Delete:*************</permission> <permission>hudson.model.Run.Delete:*************</permission> <permission>hudson.model.Run.Replay:*************</permission> <permission>hudson.model.Run.Replay:*************</permission> <permission>hudson.model.Run.Replay:*************</permission> <permission>hudson.model.Run.Replay:*************</permission> <permission>hudson.model.Run.Replay:*************</permission> <permission>hudson.model.Run.Update:*************</permission> <permission>hudson.model.Run.Update:*************</permission> <permission>hudson.model.Run.Update:*************</permission> <permission>hudson.model.Run.Update:*************</permission> <permission>hudson.model.Run.Update:*************</permission> <permission>jenkins.metrics.api.Metrics.View:*************</permission> </authorizationStrategy> <securityRealm class= "de.theit.jenkins.crowd.CrowdSecurityRealm" plugin= "crowd2@2.0.2" > <url>*************</url> <applicationName>************</applicationName> <password>***********</password> <group>********************</group> <nestedGroups> false </nestedGroups> <useSSO> false </useSSO> <sessionValidationInterval>2</sessionValidationInterval> <cookieDomain></cookieDomain> <cookieTokenkey>crowd.token_key</cookieTokenkey> <useProxy> false </useProxy> <httpProxyHost></httpProxyHost> <httpProxyPort></httpProxyPort> <httpProxyUsername></httpProxyUsername> <httpProxyPassword>********************</httpProxyPassword> <socketTimeout>20000</socketTimeout> <httpTimeout>5000</httpTimeout> <httpMaxConnections>20</httpMaxConnections> </securityRealm> Thanks!

          Blaž Lorger added a comment -

          I first encountered problems when upgrading from 2.204.5 to version 2.222.1, but haven't bothered to investigate. However I can confirm that this problem reliably prevents version 2.222.3 from starting if global security configuration contains project default build authorization.

          I would not consider this a minor bug since project authorization has to be effectively disabled (default build user is system) to get Jenkins to start.

          2020-05-26 05:33:17.773+0000 [id=25]	INFO	hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.204.5. This Jenkins is version 2.222.3.
          2020-05-26 05:33:17.822+0000 [id=25]	INFO	hudson.PluginManager#loadDetachedPlugins: Upgraded Jenkins from version 2.204.5 to version 2.222.3. Loaded detached plugins (and dependencies): []
          2020-05-26 05:33:18.248+0000 [id=30]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
          2020-05-26 05:33:26.733+0000 [id=25]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
          2020-05-26 05:33:26.761+0000 [id=25]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
          2020-05-26 05:33:27.492+0000 [id=10]	WARNING	hudson.model.Descriptor#load: Failed to load D:\Jenkins\jenkins.security.QueueItemAuthenticatorConfiguration.xml
          java.lang.StackOverflowError
          	at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
          

          Blaž Lorger added a comment - I first encountered problems when upgrading from 2.204.5 to version 2.222.1, but haven't bothered to investigate. However I can confirm that this problem reliably prevents version 2.222.3 from starting if global security configuration contains project default build authorization. I would not consider this a minor bug since project authorization has to be effectively disabled (default build user is system) to get Jenkins to start. 2020-05-26 05:33:17.773+0000 [id=25] INFO hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.204.5. This Jenkins is version 2.222.3. 2020-05-26 05:33:17.822+0000 [id=25] INFO hudson.PluginManager#loadDetachedPlugins: Upgraded Jenkins from version 2.204.5 to version 2.222.3. Loaded detached plugins (and dependencies): [] 2020-05-26 05:33:18.248+0000 [id=30] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins 2020-05-26 05:33:26.733+0000 [id=25] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins 2020-05-26 05:33:26.761+0000 [id=25] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins 2020-05-26 05:33:27.492+0000 [id=10] WARNING hudson.model.Descriptor#load: Failed to load D:\Jenkins\jenkins.security.QueueItemAuthenticatorConfiguration.xml java.lang.StackOverflowError at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)

          Dmitry Mikhirev added a comment - - edited

          Same for me, but after upgrade from 2.222.3 to 2.222.4 (lts-alpine container).

          Caught exception evaluating: c.hasPermission(c.CONFIGURE) in /computer/. Reason: java.lang.NullPointerException
           java.lang.NullPointerException
           at hudson.security.ProjectMatrixAuthorizationStrategy.getACL(ProjectMatrixAuthorizationStrategy.java:90)
           at hudson.security.AuthorizationStrategy.getACL(AuthorizationStrategy.java:145)
           at hudson.model.Computer.getACL(Computer.java:337)
           at hudson.security.AccessControlled.hasPermission(AccessControlled.java:64)
           at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
           at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
           at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
           at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
           at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
           at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
           at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
           at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
           at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsBoolean(ExpressionSupport.java:71)
           at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:97)
           at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
           at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
           at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
           at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
           at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
           at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
           at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
           at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
           at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
           at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
           at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
           at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
           at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
           at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
           at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
           at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
           at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
           at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
           at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
           at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:56)
           at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43)
           at org.kohsuke.stapler.Facet.handleIndexRequest(Facet.java:282)
           at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:99)
           at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:32)
           at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
           at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
           at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:219)
           at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
           at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
           at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
           at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
           at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
           at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:755)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
           at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
           at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76)
           at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
           at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128)
           at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
           at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
           at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:159)
           at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
           at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
           at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
           at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
           at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
           at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
           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.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)
          null
          java.lang.IllegalStateException: The class jenkins.security.QueueItemAuthenticatorConfiguration was not found, potentially not yet loaded
          	at hudson.ExtensionList.getInstance(ExtensionList.java:166)
          	at jenkins.security.QueueItemAuthenticatorConfiguration.get(QueueItemAuthenticatorConfiguration.java:61)
          	at jenkins.security.QueueItemAuthenticatorMonitor.isQueueItemAuthenticatorConfigured(QueueItemAuthenticatorMonitor.java:91)
          	at jenkins.security.QueueItemAuthenticatorMonitor.isActivated(QueueItemAuthenticatorMonitor.java:67)
          	at jenkins.model.Jenkins.lambda$getActiveAdministrativeMonitors$1(Jenkins.java:2214)
          	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174)
          	at java.util.Iterator.forEachRemaining(Iterator.java:116)
          	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
          	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
          	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
          	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
          	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
          	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
          	at jenkins.model.Jenkins.getActiveAdministrativeMonitors(Jenkins.java:2219)
          	at jenkins.management.AdministrativeMonitorsDecorator.getActiveAdministrativeMonitors(AdministrativeMonitorsDecorator.java:77)
          	at jenkins.management.AdministrativeMonitorsDecorator.getActiveAdministrativeMonitorsCount(AdministrativeMonitorsDecorator.java:72)
          	at sun.reflect.GeneratedMethodAccessor817.invoke(Unknown Source)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.lang.reflect.Method.invoke(Method.java:498)
          	at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
          	at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
          	at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
          	at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
          	at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
          	at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
          	at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
          	at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
          	at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
          	at org.kohsuke.stapler.jelly.InternationalizedStringExpression.evaluateArguments(InternationalizedStringExpression.java:150)
          	at org.kohsuke.stapler.jelly.InternationalizedStringExpression.evaluate(InternationalizedStringExpression.java:135)
          	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61)
          	at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46)
          	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.buildAttributes(ReallyStaticTagLibrary.java:111)
          	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:95)
          	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
          	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
          	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
          	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
          	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
          	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
          	at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
          	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
          	at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
          	at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
          	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
          	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
          	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
          	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
          	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
          	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
          	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
          	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
          	at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
          	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
          	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
          	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
          	at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
          	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
          	at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99)
          	at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91)
          	at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
          	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
          	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
          	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
          	at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
          	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
          	at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
          	at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
          	at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95)
          	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
          	at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
          	at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:56)
          	at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43)
          	at org.kohsuke.stapler.Facet.handleIndexRequest(Facet.java:282)
          	at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:99)
          	at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:32)
          	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
          	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
          	at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:219)
          	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
          	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747)
          	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878)
          	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676)
          	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
          	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
          	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:755)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
          	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
          	at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76)
          	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
          	at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128)
          	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
          	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
          	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:159)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
          	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          	at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          	at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
          	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
          	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
          	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
          	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.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)

          Dmitry Mikhirev added a comment - - edited Same for me, but after upgrade from 2.222.3 to 2.222.4 (lts-alpine container). Caught exception evaluating: c.hasPermission(c.CONFIGURE) in /computer/. Reason: java.lang.NullPointerException java.lang.NullPointerException at hudson.security.ProjectMatrixAuthorizationStrategy.getACL(ProjectMatrixAuthorizationStrategy.java:90) at hudson.security.AuthorizationStrategy.getACL(AuthorizationStrategy.java:145) at hudson.model.Computer.getACL(Computer.java:337) at hudson.security.AccessControlled.hasPermission(AccessControlled.java:64) at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258) at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsBoolean(ExpressionSupport.java:71) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:97) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:56) at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43) at org.kohsuke.stapler.Facet.handleIndexRequest(Facet.java:282) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:99) at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:32) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:219) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:755) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:159) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) 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.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) null java.lang.IllegalStateException: The class jenkins.security.QueueItemAuthenticatorConfiguration was not found, potentially not yet loaded at hudson.ExtensionList.getInstance(ExtensionList.java:166) at jenkins.security.QueueItemAuthenticatorConfiguration.get(QueueItemAuthenticatorConfiguration.java:61) at jenkins.security.QueueItemAuthenticatorMonitor.isQueueItemAuthenticatorConfigured(QueueItemAuthenticatorMonitor.java:91) at jenkins.security.QueueItemAuthenticatorMonitor.isActivated(QueueItemAuthenticatorMonitor.java:67) at jenkins.model.Jenkins.lambda$getActiveAdministrativeMonitors$1(Jenkins.java:2214) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) at java.util.Iterator.forEachRemaining(Iterator.java:116) at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) at jenkins.model.Jenkins.getActiveAdministrativeMonitors(Jenkins.java:2219) at jenkins.management.AdministrativeMonitorsDecorator.getActiveAdministrativeMonitors(AdministrativeMonitorsDecorator.java:77) at jenkins.management.AdministrativeMonitorsDecorator.getActiveAdministrativeMonitorsCount(AdministrativeMonitorsDecorator.java:72) at sun.reflect.GeneratedMethodAccessor817.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125) at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314) at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185) at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75) at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83) at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57) at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51) at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80) at hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74) at org.kohsuke.stapler.jelly.InternationalizedStringExpression.evaluateArguments(InternationalizedStringExpression.java:150) at org.kohsuke.stapler.jelly.InternationalizedStringExpression.evaluate(InternationalizedStringExpression.java:135) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(ExpressionSupport.java:61) at org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(ExpressionSupport.java:46) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.buildAttributes(ReallyStaticTagLibrary.java:111) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:95) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:56) at org.kohsuke.stapler.jelly.ScriptInvoker.execute(ScriptInvoker.java:43) at org.kohsuke.stapler.Facet.handleIndexRequest(Facet.java:282) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:99) at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:32) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.MetaClass$2.doDispatch(MetaClass.java:219) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:747) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:878) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:676) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:755) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154) at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:76) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:128) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:159) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:118) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) 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.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)

          Kyle L added a comment -

          To add a datapoint, Jenkins 2.204.6 and matrix authorization strategy 2.4.2 works fine. the moment I upgrade those to 2.222.<tried 1 and 4> and matrix authorization strategy 2.6.1, it breaks as listed in the bug description.

          Kyle L added a comment - To add a datapoint, Jenkins 2.204.6 and matrix authorization strategy 2.4.2 works fine. the moment I upgrade those to 2.222.<tried 1 and 4> and matrix authorization strategy 2.6.1, it breaks as listed in the bug description.

          Jhonny Oliveira added a comment - - edited

          Thank you randomvoids. I manged to put Jenkins to work again by rolling back to the versions you indicated. By the way, I also tested with Jenkins 2.235.1 without success.

          Jhonny Oliveira added a comment - - edited Thank you randomvoids . I manged to put Jenkins to work again by rolling back to the versions you indicated. By the way, I also tested with Jenkins 2.235.1 without success.

          Jeff Blaine added a comment -

          Same issue and workaround with Jenkins 2.235.1. Had to roll back the Matrix Authorization plugin to 2.5.

          Jeff Blaine added a comment - Same issue and workaround with Jenkins 2.235.1. Had to roll back the Matrix Authorization plugin to 2.5.

          Felipe Santos added a comment -

          Same issue with Jenkins 2.235.3 and Matrix Authorization 2.6.2.

          Felipe Santos added a comment - Same issue with Jenkins 2.235.3 and Matrix Authorization 2.6.2.

          Felipe Santos added a comment - - edited

          Ok, after spending 3 hours on it I made it work using the latest and greatest versions of Jenkins and Matrix Auth (2.235.3 and 2.6.2). How?

          Restart it one time, then restart it again. Now one more time. If that doesn't work, try purging the build queue before restarting as well.

          The downside is I'm almost sure that next time I restart it the problem will be back though =/

          Felipe Santos added a comment - - edited Ok, after spending 3 hours on it I made it work using the latest and greatest versions of Jenkins and Matrix Auth (2.235.3 and 2.6.2). How? Restart it one time, then restart it again. Now one more time. If that doesn't work, try purging the build queue before restarting as well. The downside is I'm almost sure that next time I restart it the problem will be back though =/

          Oleg Nenashev added a comment -

          I will try to take a look this weekend, no guarantees tho 

          Oleg Nenashev added a comment - I will try to take a look this weekend, no guarantees tho 

          Tsvi Mostovicz added a comment - - edited

          I just had this happened to us when upgrading from 2.235.2 to 2.235.3

          After starting all plugins, all of our nodes suddenly disappeared.

          The logs complain about being unable to load /var/lib/jenkins/jenkins.security.QueueItemAuthenticatorConfiguration.xml although the file exists.

          As felipecassiors mentioned, restarting caused everything to work again.

           

          An interesting side note, some of our nodes still where there, will try to investigate the difference between the nodes.

          Tsvi Mostovicz added a comment - - edited I just had this happened to us when upgrading from 2.235.2 to 2.235.3 After starting all plugins, all of our nodes suddenly disappeared. The logs complain about being unable to load /var/lib/jenkins/jenkins.security.QueueItemAuthenticatorConfiguration.xml although the file exists. As felipecassiors mentioned, restarting caused everything to work again.   An interesting side note, some of our nodes still where there, will try to investigate the difference between the nodes.

          Lars Briem added a comment -

          In my case the issue appeared between 2.235.4 and 2.235.5. I deleted the following file as mentioned by szuenstein_steag and the issue disappeared. I restarted the jenkins-container. The configuration file is stil gone and the issue did not appear afterwards.

          jenkins.security.QueueItemAuthenticatorConfiguration.xml

           

          Lars Briem added a comment - In my case the issue appeared between 2.235.4 and 2.235.5. I deleted the following file as mentioned by szuenstein_steag and the issue disappeared. I restarted the jenkins-container. The configuration file is stil gone and the issue did not appear afterwards. jenkins.security.QueueItemAuthenticatorConfiguration.xml  

          Felipe Santos added a comment -

          I wonder if removing that file is harmless or not.

          Felipe Santos added a comment - I wonder if removing that file is harmless or not.

          You cannot configure the default Build Authorization for projects, but have to use the system defaults.

          Andre Szünstein added a comment - You cannot configure the default Build Authorization for projects, but have to use the system defaults.

          Shannon Kerr added a comment - - edited

          Only this comment-396071 and dumping the queue.xml file worked for me.  Really hope this gets fixed.  This was painful.

          We're running this via docker, so I set into the volume, and moved: 

          queue.xml to queue.xml.bak
          jenkins.security.QueueItemAuthenticatorConfiguration.xml to jenkins.security.QueueItemAuthenticatorConfiguration.xml.bak

          Here was the content of the jenkins.security.QueueItemAuthenticatorConfiguration.xml.bak file

          <?xml version='1.1' encoding='UTF-8'?>
          <jenkins.security.QueueItemAuthenticatorConfiguration>
           <authenticators>
           <org.jenkinsci.plugins.authorizeproject.GlobalQueueItemAuthenticator plugin="authorize-project@1.3.0">
           <strategy class="org.jenkinsci.plugins.authorizeproject.strategy.SystemAuthorizationStrategy"/>
           </org.jenkinsci.plugins.authorizeproject.GlobalQueueItemAuthenticator>
           </authenticators>
          </jenkins.security.QueueItemAuthenticatorConfiguration>

           Of course queue.xml was re-created by Jenkins, but jenkins.security.QueueItemAuthenticatorConfiguration.xml was not.  Maybe it only exists when there is something in the queue?

          Update, I did not try removing jenkins.security.QueueItemAuthenticatorConfiguration.xml alone to see if it resolved the issue.  It could be that I could have left queue.xml in place.  btw, I restarted the Jenkins container 5+ times and even restarted the host machine once, but it did not come up until I moved jenkins.security.QueueItemAuthenticatorConfiguration.xml out of the way.

          Shannon Kerr added a comment - - edited Only this comment-396071 and dumping the queue.xml file worked for me.  Really hope this gets fixed.  This was painful. We're running this via docker, so I set into the volume, and moved:  queue.xml to queue.xml.bak jenkins.security.QueueItemAuthenticatorConfiguration.xml to jenkins.security.QueueItemAuthenticatorConfiguration.xml.bak Here was the content of the jenkins.security.QueueItemAuthenticatorConfiguration.xml.bak file <?xml version= '1.1' encoding= 'UTF-8' ?> <jenkins.security.QueueItemAuthenticatorConfiguration> <authenticators> <org.jenkinsci.plugins.authorizeproject.GlobalQueueItemAuthenticator plugin= "authorize-project@1.3.0" > <strategy class= "org.jenkinsci.plugins.authorizeproject.strategy.SystemAuthorizationStrategy" /> </org.jenkinsci.plugins.authorizeproject.GlobalQueueItemAuthenticator> </authenticators> </jenkins.security.QueueItemAuthenticatorConfiguration>  Of course queue.xml was re-created by Jenkins, but jenkins.security.QueueItemAuthenticatorConfiguration.xml was not.  Maybe it only exists when there is something in the queue? Update, I did not try removing jenkins.security.QueueItemAuthenticatorConfiguration.xml alone to see if it resolved the issue.  It could be that I could have left queue.xml in place.  btw, I restarted the Jenkins container 5+ times and even restarted the host machine once, but it did not come up until I moved jenkins.security.QueueItemAuthenticatorConfiguration.xml out of the way.

          Steve Davidson added a comment - - edited

          I'm seeing this on Jenkins 2.249.1.  My "workaround" was to remove jenkins.security.QueueItemAuthenticatorConfiguration.xml which deletes the Access Control for Builds settings.

          It's a Jenkins for supporting Opensource projects, so if somebody wants HandsOn to for additional debugging/testing, drop me a PM with a public SSH Key and I will set you up with appropriate access.

          Steve Davidson added a comment - - edited I'm seeing this on Jenkins 2.249.1.  My "workaround" was to remove jenkins.security.QueueItemAuthenticatorConfiguration.xml which deletes the  Access Control for Builds settings. It's a Jenkins for supporting Opensource projects, so if somebody wants HandsOn to for additional debugging/testing, drop me a PM with a public SSH Key and I will set you up with appropriate access.

          Cameron Price added a comment -

          hi oleg_nenashev is there any timeline as to when this issue will be resolved?

          Cameron Price added a comment - hi oleg_nenashev is there any timeline as to when this issue will be resolved?

          Felipe Santos added a comment -

          We don't have this problem anymore with 2.249.2. Maybe it was fixed?

          Felipe Santos added a comment - We don't have this problem anymore with 2.249.2. Maybe it was fixed?

          Yuriy Burtsev added a comment -

          Fixed for me in 2.249.2

          Yuriy Burtsev added a comment - Fixed for me in 2.249.2

          Ronen Bar added a comment -

          I'm having the same issue with 2.249.2

          Ronen Bar added a comment - I'm having the same issue with  2.249.2

          Ben added a comment - - edited

          I put on hold all Jenkins upgrades since 2.222.3 in a hope for this issue to get a resolution first, however it does not seem to get any attention recently.

          Did anyone face the problem for the recent Jenkins releases like 2.263.4?

          Ben added a comment - - edited I put on hold all Jenkins upgrades since 2.222.3 in a hope for this issue to get a resolution first, however it does not seem to get any attention recently. Did anyone face the problem for the recent Jenkins releases like 2.263.4?

          Ronen Bar added a comment - - edited

          We have faced the issue while upgrading to 2.263.3.

          I could find a [workaround|StackOverflowError on boot from QueueItemAuthenticatorConfiguration – CloudBees Support] that solve the issue. 

          Ronen Bar added a comment - - edited We have faced the issue while upgrading to 2.263.3. I could find a [workaround| StackOverflowError on boot from QueueItemAuthenticatorConfiguration – CloudBees Support ] that solve the issue. 

          Jesse Glick added a comment -

          A bug in the authorize-project plugin, which is up for adoption.

          Jesse Glick added a comment - A bug in the authorize-project plugin, which is up for adoption.

          Ben added a comment -

          Thank you for the info and for the hint with a workaround!

          Ben added a comment - Thank you for the info and for the hint with a workaround!

          xiao added a comment -

          when i upgrade from 2.277.2 to 2.277.4,the same problem arises。Super depressed 。

          xiao added a comment - when i upgrade from 2.277.2 to 2.277.4,the same problem arises。Super depressed 。

          not entirely sure it is helpful other than to say that it is nearing November and this is still not fixed. In any case, we are on Jenkins 2.263.4

          Doug Whitfield added a comment - not entirely sure it is helpful other than to say that it is nearing November and this is still not fixed. In any case, we are on Jenkins 2.263.4

          Tom Lorentsen added a comment -

          Had this problem on when upgrading to 2.319.1. Rolled back to snapshot twice! The workaround didn't appear to work for me

          Tom Lorentsen added a comment - Had this problem on when upgrading to 2.319.1. Rolled back to snapshot twice! The workaround didn't appear to work for me

          Ronny Perinke added a comment -

          not entirely sure it is helpful other than to say that it is nearing November and this is still not fixed. In any case, we are on Jenkins 2.263.4

          Now its May 2022 with Jenkins 2.332 and Access Control for Builds still mentions Authorize Project Plugin as the one to use. Or are there meanwhile other plugins that can do this?

          Ronny Perinke added a comment - not entirely sure it is helpful other than to say that it is nearing November and this is still not fixed. In any case, we are on Jenkins 2.263.4 Now its May 2022 with Jenkins 2.332 and Access Control for Builds still mentions Authorize Project Plugin as the one to use. Or are there meanwhile other plugins that can do this?

          Jesse Glick added a comment -

          https://github.com/jenkinsci/jenkins/pull/6222 and no, there is no real replacement.

          Jesse Glick added a comment - https://github.com/jenkinsci/jenkins/pull/6222 and no, there is no real replacement.

          Ana Trakhtman added a comment -

          Encountered this issue today and solved by removing queue.xml from /var/lib/jenkins.

          Ana Trakhtman added a comment - Encountered this issue today and solved by removing queue.xml from /var/lib/jenkins.

          Liam Baker added a comment - - edited

          Saw the same on Jenkins 2.452.1 We previously thought it was due to too many items on the queue (300+).
          However this time we stopped all jobs, removed all items from the queue, set Jenkins in "prepare for shutdown".
          Then rebooted the Jenkins Controller (reboot to install OS updates).

          On reboot Jenkins UI is throwing a 500 error with the following trace.

          java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong. 

          System logs contained the "stack overflow" mentioned on https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/client-and-managed-controllers/stackoverflowerror-on-boot-from-queueitemauthenticatorconfiguration.
          In addition there was

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

          Currently, we have a work around in the form of a script which removes all the plugins and their configuration files (keeping user settings and custom views) before rebuilding the docker container and loading the configuration from CASC. Jenkins starts cleanly from a 'fresh' container every time, but sometimes fails in this way following a reboot, container restart, or 'Safe Restart'.

          We had pinned the Matrix Auth at Version 3.1.10, as it took some time to refactor the job permissions. I will be interested to see, now we have unpinned this plug-in whether Jenkins survives reboot.

          Liam Baker added a comment - - edited Saw the same on Jenkins 2.452.1 We previously thought it was due to too many items on the queue (300+). However this time we stopped all jobs, removed all items from the queue, set Jenkins in "prepare for shutdown". Then rebooted the Jenkins Controller (reboot to install OS updates). On reboot Jenkins UI is throwing a 500 error with the following trace. java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong. System logs contained the "stack overflow" mentioned on https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/client-and-managed-controllers/stackoverflowerror-on-boot-from-queueitemauthenticatorconfiguration . In addition there was java.lang.IllegalStateException: Singleton is called recursively returning different results Currently, we have a work around in the form of a script which removes all the plugins and their configuration files (keeping user settings and custom views) before rebuilding the docker container and loading the configuration from CASC. Jenkins starts cleanly from a 'fresh' container every time, but sometimes fails in this way following a reboot, container restart, or 'Safe Restart'. We had pinned the Matrix Auth at Version 3.1.10, as it took some time to refactor the job permissions. I will be interested to see, now we have unpinned this plug-in whether Jenkins survives reboot.

          Liam Baker added a comment - - edited

          I was able to find the logs starting from Jenkins boot

          2024-07-02 11:07:22.135+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file
          2024-07-02 21:07:22.246 
          2024-07-02 11:07:22.246+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
          2024-07-02 21:07:22.302 
          2024-07-02 11:07:22.302+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-10.0.20; built: 2024-01-29T20:46:45.278Z; git: 3a745c71c23682146f262b99f4ddc4c1bc41630c; jvm 17.0.11+9
          2024-07-02 21:07:22.705 
          2024-07-02 11:07:22.705+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
          2024-07-02 21:07:22.763 
          2024-07-02 11:07:22.763+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: Session workerName=node0
          2024-07-02 21:07:23.393 
          2024-07-02 11:07:23.393+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
          2024-07-02 21:07:23.529 
          2024-07-02 11:07:23.528+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@a619c2
          
          {Jenkins v2.452.1,/,file:///var/jenkins_home/war/,AVAILABLE} \{/var/jenkins_home/war}
          
          2024-07-02 21:07:23.538 
          2024-07-02 11:07:23.537+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@4f67eb2a
          
          {HTTP/1.1, (http/1.1)} \{0.0.0.0:8080}
          
          2024-07-02 21:07:23.549 
          2024-07-02 11:07:23.549+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started Server@272ed83b
          
          {STARTING}
          
          [10.0.20,sto=0] @2057ms
          2024-07-02 21:07:23.550 
          2024-07-02 11:07:23.550+0000 [id=34] INFO winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
          2024-07-02 21:07:23.842 
          2024-07-02 11:07:23.842+0000 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization
          2024-07-02 21:07:24.606 
          2024-07-02 11:07:24.606+0000 [id=42] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins
          2024-07-02 21:07:31.545 
          2024-07-02 11:07:31.545+0000 [id=54] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
          2024-07-02 21:07:31.574 
          2024-07-02 11:07:31.573+0000 [id=55] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins
          2024-07-02 21:07:31.586 
          2024-07-02 11:07:31.586+0000 [id=43] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
          2024-07-02 21:07:31.607 
          2024-07-02 11:07:31.606+0000 [id=40] INFO j.a.PrioritySorterPlugin#init1: Configuring the Priority Sorter ...
          

          So far, so normal, but the next line is the first of a 2700 line stack trace which begins with

          2024-07-02 21:07:31.919 
          at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74)
          2024-07-02 21:07:31.919 
          at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
          2024-07-02 21:07:31.919 
          at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68)
          2024-07-02 21:07:31.919 
          at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:454)
          2024-07-02 21:07:31.919 
          at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:350)
          2024-07-02 21:07:31.919 
          at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:289)
          2024-07-02 21:07:31.919 
          at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74)
          

          and ends with

          at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:335)
          2024-07-02 21:07:31.954 
          2024-07-02 11:07:31.935+0000 [id=37] WARNING h.ExtensionFinder$GuiceFinder$FaultTolerantScope$1#error: Failed to instantiate Key[type=jenkins.security.QueueItemAuthenticatorConfiguration, annotation=[none]]; skipping this component
          2024-07-02 21:07:31.954 
          java.lang.IllegalStateException: Singleton is called recursively returning different results
          

          This trace then repeats a few times per second for the next few minutes.|

          Could the `PrioritySorterPlugin` be connected to this?

          Liam Baker added a comment - - edited I was able to find the logs starting from Jenkins boot 2024-07-02 11:07:22.135+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file 2024-07-02 21:07:22.246 2024-07-02 11:07:22.246+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath 2024-07-02 21:07:22.302 2024-07-02 11:07:22.302+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-10.0.20; built: 2024-01-29T20:46:45.278Z; git: 3a745c71c23682146f262b99f4ddc4c1bc41630c; jvm 17.0.11+9 2024-07-02 21:07:22.705 2024-07-02 11:07:22.705+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 2024-07-02 21:07:22.763 2024-07-02 11:07:22.763+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: Session workerName=node0 2024-07-02 21:07:23.393 2024-07-02 11:07:23.393+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: / var /jenkins_home found at: EnvVars.masterEnvVars.get( "JENKINS_HOME" ) 2024-07-02 21:07:23.529 2024-07-02 11:07:23.528+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@a619c2 {Jenkins v2.452.1,/,file: /// var /jenkins_home/war/,AVAILABLE} \{/ var /jenkins_home/war} 2024-07-02 21:07:23.538 2024-07-02 11:07:23.537+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@4f67eb2a {HTTP/1.1, (http/1.1)} \{0.0.0.0:8080} 2024-07-02 21:07:23.549 2024-07-02 11:07:23.549+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started Server@272ed83b {STARTING} [10.0.20,sto=0] @2057ms 2024-07-02 21:07:23.550 2024-07-02 11:07:23.550+0000 [id=34] INFO winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled 2024-07-02 21:07:23.842 2024-07-02 11:07:23.842+0000 [id=41] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization 2024-07-02 21:07:24.606 2024-07-02 11:07:24.606+0000 [id=42] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins 2024-07-02 21:07:31.545 2024-07-02 11:07:31.545+0000 [id=54] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins 2024-07-02 21:07:31.574 2024-07-02 11:07:31.573+0000 [id=55] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins 2024-07-02 21:07:31.586 2024-07-02 11:07:31.586+0000 [id=43] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions 2024-07-02 21:07:31.607 2024-07-02 11:07:31.606+0000 [id=40] INFO j.a.PrioritySorterPlugin#init1: Configuring the Priority Sorter ... So far, so normal, but the next line is the first of a 2700 line stack trace which begins with 2024-07-02 21:07:31.919 at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74) 2024-07-02 21:07:31.919 at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) 2024-07-02 21:07:31.919 at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68) 2024-07-02 21:07:31.919 at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:454) 2024-07-02 21:07:31.919 at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:350) 2024-07-02 21:07:31.919 at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:289) 2024-07-02 21:07:31.919 at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74) and ends with at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:335) 2024-07-02 21:07:31.954 2024-07-02 11:07:31.935+0000 [id=37] WARNING h.ExtensionFinder$GuiceFinder$FaultTolerantScope$1#error: Failed to instantiate Key[type=jenkins.security.QueueItemAuthenticatorConfiguration, annotation=[none]]; skipping this component 2024-07-02 21:07:31.954 java.lang.IllegalStateException: Singleton is called recursively returning different results This trace then repeats a few times per second for the next few minutes.| Could the `PrioritySorterPlugin` be connected to this?

          Liam Baker added a comment - - edited

          I have traced the exception 

          Singleton is called recursively returning different results

           to code in com.google.inject.internal.SingletonScope
          It may be related to https://github.com/google/guice/issues/1510

           

          Liam Baker added a comment - - edited I have traced the exception  Singleton is called recursively returning different results  to code in com.google.inject.internal.SingletonScope It may be related to https://github.com/google/guice/issues/1510  

          Liam Baker added a comment - - edited

          Hi, this is consistently reproducible in Jenkins 2.542.2 LTS
          If a resource or the Jenkins controller URL is queried while Jenkins is starting up, the stack overflow is triggered.
          If the controller, or just the jenkins container is restarted, and no query of any URL is made, jenkins will start without issue.

          Sometimes we get a full crash, other times Jenkins serves an error page for a while before crashing.

          Error loading configuration

           
          Invalid configuration elements for type:

           

          security

          Attribute was:

           

          queueItemAuthenticator

          Valid attributes are:

          • apiToken
          • apiTokenProperty
          • badgePlugin
          • copyartifact
          • crumb
          • envInject
          • gitHooks
          • gitHostKeyVerificationConfiguration
          • globalJobDslSecurityConfiguration
          • prism
          • sSHD
          • scriptApproval
          • updateSiteWarningsConfiguration

          Liam Baker added a comment - - edited Hi, this is consistently reproducible in Jenkins 2.542.2 LTS If a resource or the Jenkins controller URL is queried while Jenkins is starting up, the stack overflow is triggered. If the controller, or just the jenkins container is restarted, and no query of any URL is made, jenkins will start without issue. Sometimes we get a full crash, other times Jenkins serves an error page for a while before crashing. Error loading configuration   Invalid configuration elements for type:   security Attribute was:   queueItemAuthenticator Valid attributes are: apiToken apiTokenProperty badgePlugin copyartifact crumb envInject gitHooks gitHostKeyVerificationConfiguration globalJobDslSecurityConfiguration prism sSHD scriptApproval updateSiteWarningsConfiguration

          Sudarshan T N added a comment - - edited

          The same issue in 2.462.1 LTS.

          Hi mawinter69 , I apologize for bothering you. I was wondering if you might have any insight into this bug.

          Sudarshan T N added a comment - - edited The same issue in 2.462.1 LTS. Hi mawinter69 , I apologize for bothering you. I was wondering if you might have any insight into this bug.

          Sudarshan T N added a comment -

          do we get any fix for this issue?

          Sudarshan T N added a comment - do we get any fix for this issue?

            Unassigned Unassigned
            tumbl3w33d Sir Tumbleweed
            Votes:
            42 Vote for this issue
            Watchers:
            47 Start watching this issue

              Created:
              Updated: