• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • ldap-plugin
    • None

      I am integrating LDAP in my docker based Jenkins. But after putting all details correctly when I am clicking on Test Domain option it is throwing error

      "A problem occurred while processing the request. Logging ID=1ebe2437-3aa7-4b05-8ad8-096c7b930362 in jenkins"

          [JENKINS-68491] LDAP integration issue

          Kaushal Modi added a comment -

          I am seeing the same issue after I upgrades Jenkins after a long time. I also upgraded all the plugins (incl LDAP) to the latest versions.

          • Jenkins 2.346.2 fails the LDAP auth
          • Once I reverted to Jenkins 2.332.4, LDAP auth started working once again.

           

          Kaushal Modi added a comment - I am seeing the same issue after I upgrades Jenkins after a long time. I also upgraded all the plugins (incl LDAP) to the latest versions. Jenkins 2.346.2 fails the LDAP auth Once I reverted to Jenkins 2.332.4 , LDAP auth started working once again.  

          Kaushal Modi added a comment -

          This bug is Critical because once I updated Jenkins, no one in my company was able to access my Jenkins URL. In the process of downgrading Jenkins, the updated plugins got deactivated because they needed a newer version. In the end, I will need to reconfig all the Jenkins jobs manually. For now, I will stick with Jenkins 2.332.4 until this issue gets resolved.

          Kaushal Modi added a comment - This bug is Critical because once I updated Jenkins, no one in my company was able to access my Jenkins URL. In the process of downgrading Jenkins, the updated plugins got deactivated because they needed a newer version. In the end, I will need to reconfig all the Jenkins jobs manually. For now, I will stick with Jenkins 2.332.4 until this issue gets resolved.

          Mark Waite added a comment -

          kaushalmodi based on the limited description, I don't have much hope that others will be able to assist with the problem. The original description says "it failed" but does not provide the stack trace that was written to the log file and does not provide steps that describe what might be causing the issue. Many Jenkins users are successfully using LDAP with Jenkins 2.346.2. For example, LDAP is used on ci.jenkins.io, weekly.ci.jenkins.io, release.ci.jenkins.io, and several other large scale Jenkins instances. Yet, neither you nor the original submitter of the issue have provided the details that will show how your installation is different from other installations. Neither have provided the stack trace that is reported in the log file.

          Will you provide enough details that others can duplicate the problem on a freshly installed system?

          Will you provide the stack traces that are written to the Jenkins log on failures?

          Will you provide the configuration details that might help others understand why your system is different than the many systems that are working as expected?

          Mark Waite added a comment - kaushalmodi based on the limited description, I don't have much hope that others will be able to assist with the problem. The original description says "it failed" but does not provide the stack trace that was written to the log file and does not provide steps that describe what might be causing the issue. Many Jenkins users are successfully using LDAP with Jenkins 2.346.2. For example, LDAP is used on ci.jenkins.io, weekly.ci.jenkins.io, release.ci.jenkins.io, and several other large scale Jenkins instances. Yet, neither you nor the original submitter of the issue have provided the details that will show how your installation is different from other installations. Neither have provided the stack trace that is reported in the log file. Will you provide enough details that others can duplicate the problem on a freshly installed system? Will you provide the stack traces that are written to the Jenkins log on failures? Will you provide the configuration details that might help others understand why your system is different than the many systems that are working as expected?

          Kaushal Modi added a comment - - edited

          Hello,

          I am consistently able to reproduce this issue on a fresh start of Jenkins 2.346.2 using Java 11.0.2+9.

          Steps:

          1. Start new server with an empty $JENKINS_HOME
          2. Proceed with adding the initial admin password seen on terminal and installing the default set of plugins
          3. Go to Configure Jenkins -> Configure Global Security -> LDAP
          4. My LDAP setup needs only the Server and Root DN. They have been working well until Jenkins 2.332.4.
          5. After entering that, I proceed to "Test LDAP Settings". There I only see "ERROR". Upon clicking that, I see "A problem occurred while processing the request. Logging ID=d9aa849b-beaf-4001-88a6-5f8187491d3a".

          In the terminal though, I see this crash log below.

           

          Crash log:

           

           

          2022-07-14 11:59:01.085+0000 [id=14]    WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving http://USER-lx01.engus1.COMPANY.com:8081/descriptorByName/hudson.security.LDAPSecurityRealm/validate
          java.lang.NullPointerException
                  at hudson.security.LDAPSecurityRealm$DescriptorImpl.validate(LDAPSecurityRealm.java:1589)
                  at hudson.security.LDAPSecurityRealm$DescriptorImpl.doValidate(LDAPSecurityRealm.java:1544)
                  at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
                  at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397)
          Caused: java.lang.reflect.InvocationTargetException
                  at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:401)
                  at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:409)
                  at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:78)
                  at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
                  at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:207)
                  at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:140)
                  at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:558)
                  at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
                  at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
                  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
                  at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:289)
                  at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
                  at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
                  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
                  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
                  at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
                  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
                  at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
                  at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)
                  at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
                  at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
                  at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:81)
                  at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
                  at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:160)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:154)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)
                  at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
                  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)
                  at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
                  at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
                  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
                  at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)
                  at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
                  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
                  at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571)
                  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:1624)
                  at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
                  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
                  at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
                  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
                  at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
                  at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
                  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
                  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:516)
                  at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
                  at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
                  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
                  at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
                  at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
                  at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
                  at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
                  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
                  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
                  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
                  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
                  at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
                  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
                  at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
                  at java.base/java.lang.Thread.run(Thread.java:834)
          2022-07-14 11:59:01.088+0000 [id=14]    WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID d9aa849b-beaf-4001-88a6-5f8187491d3a
          java.lang.NullPointerException
                  at hudson.security.LDAPSecurityRealm$DescriptorImpl.validate(LDAPSecurityRealm.java:1589)
                  at hudson.security.LDAPSecurityRealm$DescriptorImpl.doValidate(LDAPSecurityRealm.java:1544)
                  at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
                  at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397)
                  at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:409)
                  at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:78)
                  at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
                  at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:207)
                  at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:140)
                  at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:558)
                  at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
                  at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
          Caused: javax.servlet.ServletException
                  at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:816)
                  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
                  at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:289)
                  at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
                  at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
                  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
                  at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)
                  at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
                  at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
                  at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
                  at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)
                  at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)
                  at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
                  at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:81)
                  at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
                  at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:160)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:154)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)
                  at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
                  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)
                  at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
                  at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
                  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
                  at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)
                  at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
                  at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)
                  at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
                  at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
                  at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
                  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
                  at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
                  at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571)
                  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:1624)
                  at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
                  at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
                  at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
                  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
                  at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
                  at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
                  at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
                  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:516)
                  at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
                  at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
                  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
                  at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
                  at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
                  at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
                  at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
                  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
                  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
                  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
                  at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
                  at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
                  at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
                  at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
                  at java.base/java.lang.Thread.run(Thread.java:834)
          

           

           

           

          Here's how the same LDAP testing looks on Jenkins 2.332.4:

          The warnings you seen for LDAP group membership have always been there because my organization does not set those up (could that be a problem for this crash?). But LDAP based authentication is perfectly functionaly inspite of those warnings on that Jenkins version.

           

           

           

          Let me know if there's any other debug info I can provide.

           

          Thanks!

           

          Kaushal Modi added a comment - - edited Hello, I am consistently able to reproduce this issue on a fresh start of Jenkins 2.346.2 using Java 11.0.2+9. Steps: Start new server with an empty $JENKINS_HOME Proceed with adding the initial admin password seen on terminal and installing the default set of plugins Go to Configure Jenkins -> Configure Global Security -> LDAP My LDAP setup needs only the Server and Root DN. They have been working well until Jenkins 2.332.4. After entering that, I proceed to "Test LDAP Settings". There I only see "ERROR". Upon clicking that, I see "A problem occurred while processing the request. Logging ID=d9aa849b-beaf-4001-88a6-5f8187491d3a". In the terminal though, I see this crash log below.   Crash log:     2022-07-14 11:59:01.085+0000 [id=14]    WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving http://USER-lx01.engus1.COMPANY.com:8081/descriptorByName/hudson.security.LDAPSecurityRealm/validate java.lang.NullPointerException         at hudson.security.LDAPSecurityRealm$DescriptorImpl.validate(LDAPSecurityRealm.java:1589)         at hudson.security.LDAPSecurityRealm$DescriptorImpl.doValidate(LDAPSecurityRealm.java:1544)         at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)         at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397) Caused: java.lang.reflect.InvocationTargetException         at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:401)         at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:409)         at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:78)         at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)         at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:207)         at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:140)         at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:558)         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)         at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:289)         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)         at org.kohsuke.stapler.Stapler.service(Stapler.java:240)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)         at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)         at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)         at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:81)         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)         at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:160)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:154)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)         at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)         at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)         at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)         at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571)         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:1624)         at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)         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:516)         at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)         at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)         at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)         at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)         at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)         at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)         at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)         at java.base/java.lang.Thread.run(Thread.java:834) 2022-07-14 11:59:01.088+0000 [id=14]    WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID d9aa849b-beaf-4001-88a6-5f8187491d3a java.lang.NullPointerException         at hudson.security.LDAPSecurityRealm$DescriptorImpl.validate(LDAPSecurityRealm.java:1589)         at hudson.security.LDAPSecurityRealm$DescriptorImpl.doValidate(LDAPSecurityRealm.java:1544)         at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)         at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397)         at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:409)         at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:78)         at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)         at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:207)         at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:140)         at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:558)         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766) Caused: javax.servlet.ServletException         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:816)         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)         at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:289)         at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)         at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)         at org.kohsuke.stapler.Stapler.invoke(Stapler.java:694)         at org.kohsuke.stapler.Stapler.service(Stapler.java:240)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)         at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)         at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)         at jenkins.telemetry.impl.UserLanguages$AcceptLanguageFilter.doFilter(UserLanguages.java:129)         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)         at jenkins.security.ResourceDomainFilter.doFilter(ResourceDomainFilter.java:81)         at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)         at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:160)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:154)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)         at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)         at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)         at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)         at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)         at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)         at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)         at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)         at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)         at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)         at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)         at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)         at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)         at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)         at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571)         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:1624)         at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)         at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)         at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)         at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)         at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)         at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)         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:516)         at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)         at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)         at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)         at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)         at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)         at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)         at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)         at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)         at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)         at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)         at java.base/java.lang.Thread.run(Thread.java:834)     —   Here's how the same LDAP testing looks on Jenkins 2.332.4: The warnings you seen for LDAP group membership have always been there because my organization does not set those up (could that be a problem for this crash?). But LDAP based authentication is perfectly functionaly inspite of those warnings on that Jenkins version.     —   Let me know if there's any other debug info I can provide.   Thanks!  

          Mark Waite added a comment -

          Thanks for providing the stack trace. It matches with https://github.com/jenkinsci/ldap-plugin/blob/ldap-2.10/src/main/java/hudson/security/LDAPSecurityRealm.java#L1589 (assuming you are running the most recent release of the LDAP plugin).

          Are you running the most recent release (2.10) of the LDAP plugin?

          Can you provide the list of all plugins that you have installed and their versions, as recommended by "How to report an issue"?

          Mark Waite added a comment - Thanks for providing the stack trace. It matches with https://github.com/jenkinsci/ldap-plugin/blob/ldap-2.10/src/main/java/hudson/security/LDAPSecurityRealm.java#L1589 (assuming you are running the most recent release of the LDAP plugin). Are you running the most recent release (2.10) of the LDAP plugin? Can you provide the list of all plugins that you have installed and their versions, as recommended by "How to report an issue" ?

          Kaushal Modi added a comment -

          Are you running the most recent release (2.10) of the LDAP plugin?

          Yes, it's the latest LDAP plugin installed when I did a fresh start of the server today.

          I'll send detailed report as explained in that link once I'm at my computer.

          Kaushal Modi added a comment - Are you running the most recent release (2.10) of the LDAP plugin? Yes, it's the latest LDAP plugin installed when I did a fresh start of the server today. I'll send detailed report as explained in that link once I'm at my computer.

          Kaushal Modi added a comment - - edited

          Can you provide the list of all plugins that you have installed and their versions, as recommended by "How to report an issue"?

          Here's the output of running the script from that link. These are just the default recommended plugins that get installed on a fresh start of Jenkins server. This also confirms that the LDAP version is 2.10.

           

          Jenkins: 2.346.2
          OS: Linux - 3.10.0-957.el7.x86_64
          ---
          ace-editor:1.1
          ant:475.vf34069fef73c
          antisamy-markup-formatter:2.7
          apache-httpcomponents-client-4-api:4.5.13-1.0
          bootstrap5-api:5.1.3-7
          bouncycastle-api:2.26
          branch-api:2.1046.v0ca_37783ecc5
          build-timeout:1.21
          caffeine-api:2.9.3-65.v6a_47d0f4d1fe
          checks-api:1.7.4
          cloudbees-folder:6.729.v2b_9d1a_74d673
          command-launcher:84.v4a_97f2027398
          credentials:1139.veb_9579fca_33b_
          credentials-binding:523.vd859a_4b_122e6
          display-url-api:2.3.6
          durable-task:496.va67c6f9eefa7
          echarts-api:5.3.3-1
          email-ext:2.89
          font-awesome-api:6.1.1-1
          git:4.11.3
          git-client:3.11.0
          github:1.34.4
          github-api:1.303-400.v35c2d8258028
          github-branch-source:1656.v77eddb_b_e95df
          gradle:1.39.4
          handlebars:3.0.8
          jackson2-api:2.13.3-285.vc03c0256d517
          javax-activation-api:1.2.0-3
          javax-mail-api:1.6.2-6
          jaxb:2.3.6-1
          jdk-tool:1.5
          jjwt-api:0.11.5-77.v646c772fddb_0
          jquery3-api:3.6.0-4
          jsch:0.1.55.2
          junit:1119.1121.vc43d0fc45561
          ldap:2.10
          mailer:414.vcc4c33714601
          matrix-auth:3.1.5
          matrix-project:772.v494f19991984
          mina-sshd-api-common:2.8.0-21.v493b_6b_db_22c6
          mina-sshd-api-core:2.8.0-21.v493b_6b_db_22c6
          momentjs:1.1.1
          okhttp-api:4.9.3-105.vb96869f8ac3a
          pam-auth:1.8
          pipeline-build-step:2.18
          pipeline-github-lib:38.v445716ea_edda_
          pipeline-graph-analysis:195.v5812d95a_a_2f9
          pipeline-groovy-lib:593.va_a_fc25d520e9
          pipeline-input-step:449.v77f0e8b_845c4
          pipeline-milestone-step:101.vd572fef9d926
          pipeline-model-api:2.2097.v33db_b_de764b_e
          pipeline-model-definition:2.2097.v33db_b_de764b_e
          pipeline-model-extensions:2.2097.v33db_b_de764b_e
          pipeline-rest-api:2.24
          pipeline-stage-step:293.v200037eefcd5
          pipeline-stage-tags-metadata:2.2097.v33db_b_de764b_e
          pipeline-stage-view:2.24
          plain-credentials:1.8
          plugin-util-api:2.17.0
          popper2-api:2.11.5-2
          resource-disposer:0.19
          scm-api:608.vfa_f971c5a_a_e9
          script-security:1175.v4b_d517d6db_f0
          snakeyaml-api:1.30.2-76.vc104f7ce9870
          ssh-credentials:291.v8211e4f8efb_c
          ssh-slaves:1.821.vd834f8a_c390e
          sshd:3.242.va_db_9da_b_26a_c3
          structs:318.va_f3ccb_729b_71
          timestamper:1.18
          token-macro:293.v283932a_0a_b_49
          trilead-api:1.66.v49c6758b_b_360
          variant:1.4
          workflow-aggregator:590.v6a_d052e5a_a_b_5
          workflow-api:1188.v0016b_4f29881
          workflow-basic-steps:969.vc4ec3e4854b_f
          workflow-cps:2746.v0da_83a_332669
          workflow-durable-task-step:1174.v73a_9a_17edce0
          workflow-job:1206.vc48d96b_930b_2
          workflow-multibranch:716.vc692a_e52371b_
          workflow-scm-step:400.v6b_89a_1317c9a_
          workflow-step-api:625.vd896b_f445a_f8
          workflow-support:833.va_1c71061486b_
          ws-cleanup:0.42
          

          Whether you’re running Jenkins directly or in a container like Tomcat (which one, in which version?)

          Running directly from xterm, tcsh shell.

          Whether Jenkins is accessed through a reverse proxy (if so, how is it configured?)

          I do not know what that means.

          How you installed Jenkins (Windows installer, deb/rpm, …​), and how you’re launching any involved agents (via SSH, web browser, command line, …​)

          I simply downloaded the war file: wget -nd https://get.jenkins.io/war-stable/2.346.2/jenkins.war

          Your web browser (+ version). Make sure the issue occurs on supported web browsers.

          Firefox 102.0.1

          Kaushal Modi added a comment - - edited Can you provide the list of all plugins that you have installed and their versions, as recommended by "How to report an issue" ? Here's the output of running the script from that link. These are just the default recommended plugins that get installed on a fresh start of Jenkins server. This also confirms that the LDAP version is 2.10.   Jenkins: 2.346.2 OS: Linux - 3.10.0-957.el7.x86_64 --- ace-editor:1.1 ant:475.vf34069fef73c antisamy-markup-formatter:2.7 apache-httpcomponents-client-4-api:4.5.13-1.0 bootstrap5-api:5.1.3-7 bouncycastle-api:2.26 branch-api:2.1046.v0ca_37783ecc5 build-timeout:1.21 caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.7.4 cloudbees-folder:6.729.v2b_9d1a_74d673 command-launcher:84.v4a_97f2027398 credentials:1139.veb_9579fca_33b_ credentials-binding:523.vd859a_4b_122e6 display-url-api:2.3.6 durable-task:496.va67c6f9eefa7 echarts-api:5.3.3-1 email-ext:2.89 font-awesome-api:6.1.1-1 git:4.11.3 git-client:3.11.0 github:1.34.4 github-api:1.303-400.v35c2d8258028 github-branch-source:1656.v77eddb_b_e95df gradle:1.39.4 handlebars:3.0.8 jackson2-api:2.13.3-285.vc03c0256d517 javax-activation-api:1.2.0-3 javax-mail-api:1.6.2-6 jaxb:2.3.6-1 jdk-tool:1.5 jjwt-api:0.11.5-77.v646c772fddb_0 jquery3-api:3.6.0-4 jsch:0.1.55.2 junit:1119.1121.vc43d0fc45561 ldap:2.10 mailer:414.vcc4c33714601 matrix-auth:3.1.5 matrix-project:772.v494f19991984 mina-sshd-api-common:2.8.0-21.v493b_6b_db_22c6 mina-sshd-api-core:2.8.0-21.v493b_6b_db_22c6 momentjs:1.1.1 okhttp-api:4.9.3-105.vb96869f8ac3a pam-auth:1.8 pipeline-build-step:2.18 pipeline-github-lib:38.v445716ea_edda_ pipeline-graph-analysis:195.v5812d95a_a_2f9 pipeline-groovy-lib:593.va_a_fc25d520e9 pipeline-input-step:449.v77f0e8b_845c4 pipeline-milestone-step:101.vd572fef9d926 pipeline-model-api:2.2097.v33db_b_de764b_e pipeline-model-definition:2.2097.v33db_b_de764b_e pipeline-model-extensions:2.2097.v33db_b_de764b_e pipeline-rest-api:2.24 pipeline-stage-step:293.v200037eefcd5 pipeline-stage-tags-metadata:2.2097.v33db_b_de764b_e pipeline-stage-view:2.24 plain-credentials:1.8 plugin-util-api:2.17.0 popper2-api:2.11.5-2 resource-disposer:0.19 scm-api:608.vfa_f971c5a_a_e9 script-security:1175.v4b_d517d6db_f0 snakeyaml-api:1.30.2-76.vc104f7ce9870 ssh-credentials:291.v8211e4f8efb_c ssh-slaves:1.821.vd834f8a_c390e sshd:3.242.va_db_9da_b_26a_c3 structs:318.va_f3ccb_729b_71 timestamper:1.18 token-macro:293.v283932a_0a_b_49 trilead-api:1.66.v49c6758b_b_360 variant:1.4 workflow-aggregator:590.v6a_d052e5a_a_b_5 workflow-api:1188.v0016b_4f29881 workflow-basic-steps:969.vc4ec3e4854b_f workflow-cps:2746.v0da_83a_332669 workflow-durable-task-step:1174.v73a_9a_17edce0 workflow-job:1206.vc48d96b_930b_2 workflow-multibranch:716.vc692a_e52371b_ workflow-scm-step:400.v6b_89a_1317c9a_ workflow-step-api:625.vd896b_f445a_f8 workflow-support:833.va_1c71061486b_ ws-cleanup:0.42 Whether you’re running Jenkins directly or in a container like Tomcat (which one, in which version?) Running directly from xterm, tcsh shell. Whether Jenkins is accessed through a reverse proxy (if so, how is it configured?) I do not know what that means. How you installed Jenkins (Windows installer, deb/rpm, …​), and how you’re launching any involved agents (via SSH, web browser, command line, …​) I simply downloaded the war file: wget -nd https://get.jenkins.io/war-stable/2.346.2/jenkins.war Your web browser (+ version). Make sure the issue occurs on supported web browsers . Firefox 102.0.1

          Kaushal Modi added a comment -

          My report above is probably a duplicated of https://issues.jenkins.io/browse/JENKINS-68748.

          Kaushal Modi added a comment - My report above is probably a duplicated of https://issues.jenkins.io/browse/JENKINS-68748 .

            Unassigned Unassigned
            heenak2 Heena Kumari
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: