-
Bug
-
Resolution: Duplicate
-
Critical
-
2.479.1
Hi, I updated this morning from 2.462.3 to 2.479.1 and I can't log in anymore. I downgraded to version 2.462.3 and I can log in again. The command journalctl -u jenkins -f shows that the process fails due to the following exception:
Nov 01 13:01:52 jenkins jenkins[31949]: 2024-11-01 12:01:52.030+0000 [id=109] WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID c378f0bd-e6c6-400d-9fb7-189a91528464
Nov 01 13:01:52 jenkins jenkins[31949]: java.lang.NoSuchMethodError: 'void org.springframework.util.Assert.isTrue(boolean)'
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.support.LdapUtils$CollectingAttributeValueCallbackHandler.handleAttributeValue(LdapUtils.java:343)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.support.LdapUtils.handleAttributeValue(LdapUtils.java:321)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.support.LdapUtils.iterateAttributeValues(LdapUtils.java:305)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.support.LdapUtils.collectAttributeValues(LdapUtils.java:287)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.core.DirContextAdapter.collectAttributeValuesAsList(DirContextAdapter.java:787)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.core.DirContextAdapter.getObjectAttributes(DirContextAdapter.java:776)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.security.ldap.SpringSecurityLdapTemplate.extractStringAttributeValues(SpringSecurityLdapTemplate.java:224)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.security.ldap.SpringSecurityLdapTemplate.lambda$searchForMultipleAttributeValues$2(SpringSecurityLdapTemplate.java:187)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.core.ContextMapperCallbackHandler.getObjectFromNameClassPair(ContextMapperCallbackHandler.java:69)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.core.CollectingNameClassPairCallbackHandler.handleNameClassPair(CollectingNameClassPairCallbackHandler.java:50)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:371)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:332)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:633)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:574)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.security.ldap.SpringSecurityLdapTemplate.searchForMultipleAttributeValues(SpringSecurityLdapTemplate.java:197)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator.getGroupMembershipRoles(DefaultLdapAuthoritiesPopulator.java:223)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//hudson.security.LDAPSecurityRealm$AuthoritiesPopulatorImpl.getGroupMembershipRoles(LDAPSecurityRealm.java:1427)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator.getGrantedAuthorities(DefaultLdapAuthoritiesPopulator.java:202)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//jenkins.security.plugins.ldap.FromGroupSearchLDAPGroupMembershipStrategy.getGrantedAuthorities(FromGroupSearchLDAPGroupMembershipStrategy.java:81)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//hudson.security.LDAPSecurityRealm$WrappedAuthoritiesPopulator.getGrantedAuthorities(LDAPSecurityRealm.java:1380)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.security.ldap.authentication.LdapAuthenticationProvider.loadUserAuthorities(LdapAuthenticationProvider.java:197)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//org.springframework.security.ldap.authentication.AbstractLdapAuthenticationProvider.authenticate(AbstractLdapAuthenticationProvider.java:81)
Nov 01 13:01:52 jenkins jenkins[31949]: at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:182)
Nov 01 13:01:52 jenkins jenkins[31949]: at PluginClassLoader for ldap//hudson.security.LDAPSecurityRealm$LDAPAuthenticationManager.authenticate(LDAPSecurityRealm.java:992)