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

ActiveDirectory.updateUserCache uncaughtException

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins 2.176.2
      active-directory:2.16

      Updated plugins using install_plugins.sh (the docker model).

       

      Upon startup, seeing the following the in the logs when user logs in. Login is successful however.

       

      hudson.init.impl.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler uncaughtException
      SEVERE: A thread (ActiveDirectory.updateUserCache 1/332) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
      java.lang.NullPointerException
         at hudson.Util.fileToPath(Util.java:1501)
         at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145)
         at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92)
         at hudson.model.User.putUserFolderIfAbsent(User.java:806)
         at hudson.model.User.constructUserConfigFile(User.java:802)
         at hudson.model.User.save(User.java:796)
         at hudson.model.User.addProperty(User.java:336)
         at hudson.plugins.active_directory.ActiveDirectoryUserDetail.updateUserInfo(ActiveDirectoryUserDetail.java:213)
         at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider$2.run(ActiveDirectoryUnixAuthenticationProvider.java:462)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
         at java.lang.Thread.run(Thread.java:748) 

          [JENKINS-58940] ActiveDirectory.updateUserCache uncaughtException

          Michelle Pogado added a comment - - edited

          Experiencing the same exact issue.

          Environment:

          Jenkins 2.189
          Active Directory Plugin 2.16
          CentOS 7
          

          *Plugins updated via the Plugin Manager UI

          Update:
          Tried downgrading AD Plugin from 2.16 to 2.14 and still getting the exact same stack trace above.
          Are there any workarounds for this?

          Michelle Pogado added a comment - - edited Experiencing the same exact issue. Environment: Jenkins 2.189 Active Directory Plugin 2.16 CentOS 7 *Plugins updated via the Plugin Manager UI Update: Tried downgrading AD Plugin from 2.16 to 2.14 and still getting the exact same stack trace above. Are there any workarounds for this?

          Paulius Bulotas added a comment - - edited

          2.176.3, after updating bunch of plugins, I get NPE when logging in or saving user preferences:

           java.lang.NullPointerException
           at hudson.Util.fileToPath(Util.java:1501)
           at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145)
           at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92)
           at hudson.model.User.putUserFolderIfAbsent(User.java:806)
           at hudson.model.User.constructUserConfigFile(User.java:802)
           at hudson.model.User.save(User.java:796)
           at hudson.model.User.doConfigSubmit(User.java:868)
          

          And we are using LDAP, CentOS 7 with SELinux enabled.

          Paulius Bulotas added a comment - - edited 2.176.3, after updating bunch of plugins, I get NPE when logging in or saving user preferences: java.lang.NullPointerException at hudson.Util.fileToPath(Util.java:1501) at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145) at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92) at hudson.model.User.putUserFolderIfAbsent(User.java:806) at hudson.model.User.constructUserConfigFile(User.java:802) at hudson.model.User.save(User.java:796) at hudson.model.User.doConfigSubmit(User.java:868) And we are using LDAP, CentOS 7 with SELinux enabled.

          Different stacktrace in the begining, ends the same:

          There were no failing Constraints! The build will be marked as SUCCESS
          FATAL: java.lang.NullPointerException
          java.lang.NullPointerException
          	at hudson.Util.fileToPath(Util.java:1501)
          	at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145)
          	at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92)
          	at hudson.model.User.putUserFolderIfAbsent(User.java:806)
          	at hudson.model.User.constructUserConfigFile(User.java:802)
          	at hudson.model.User.save(User.java:796)
          	at hudson.model.User.addProperty(User.java:336)
          	at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:835)
          	at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:796)
          	at hudson.security.LDAPSecurityRealm.loadUserByUsername(LDAPSecurityRealm.java:786)
          	at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172)
          	at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161)
          	at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767)
          	at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
          	at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
          	at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
          	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
          Caused: com.google.common.util.concurrent.UncheckedExecutionException
          	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234)
          	at com.google.common.cache.LocalCache.get(LocalCache.java:3965)
          	at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764)
          	at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127)
          	at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1239)
          	at hudson.model.User$CanonicalIdResolver.resolve(User.java:1180)
          	at hudson.model.User.get(User.java:505)
          	at hudson.model.User.get(User.java:475)
          	at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:398)
          	at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:466)
          	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:137)
          	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95)
          	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:132)
          	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95)
          	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:132)
          	at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341)
          	at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95)
          	at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
          	at hudson.model.Run.execute(Run.java:1843)
          	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          	at hudson.model.ResourceController.execute(ResourceController.java:97)
          	at hudson.model.Executor.run(Executor.java:429)
          

          Paulius Bulotas added a comment - Different stacktrace in the begining, ends the same: There were no failing Constraints! The build will be marked as SUCCESS FATAL: java.lang.NullPointerException java.lang.NullPointerException at hudson.Util.fileToPath(Util.java:1501) at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145) at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92) at hudson.model.User.putUserFolderIfAbsent(User.java:806) at hudson.model.User.constructUserConfigFile(User.java:802) at hudson.model.User.save(User.java:796) at hudson.model.User.addProperty(User.java:336) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:835) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:796) at hudson.security.LDAPSecurityRealm.loadUserByUsername(LDAPSecurityRealm.java:786) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161) at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) Caused: com.google.common.util.concurrent.UncheckedExecutionException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764) at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127) at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1239) at hudson.model.User$CanonicalIdResolver.resolve(User.java:1180) at hudson.model.User.get(User.java:505) at hudson.model.User.get(User.java:475) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:398) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:466) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:137) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:132) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:132) at hudson.model.AbstractBuild.calculateCulprits(AbstractBuild.java:341) at jenkins.scm.RunWithSCM.getCulprits(RunWithSCM.java:95) at hudson.model.AbstractBuild.getCulprits(AbstractBuild.java:330) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1843) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)

          Another one:

          java.lang.NullPointerException
          	at hudson.Util.fileToPath(Util.java:1501)
          	at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145)
          	at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92)
          	at hudson.model.User.putUserFolderIfAbsent(User.java:806)
          	at hudson.model.User.constructUserConfigFile(User.java:802)
          	at hudson.model.User.save(User.java:796)
          	at hudson.model.User.addProperty(User.java:336)
          	at hudson.plugins.git.GitChangeSet.setMail(GitChangeSet.java:416)
          	at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:407)
          	at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:466)
          	at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:137)
          

          Paulius Bulotas added a comment - Another one: java.lang.NullPointerException at hudson.Util.fileToPath(Util.java:1501) at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145) at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92) at hudson.model.User.putUserFolderIfAbsent(User.java:806) at hudson.model.User.constructUserConfigFile(User.java:802) at hudson.model.User.save(User.java:796) at hudson.model.User.addProperty(User.java:336) at hudson.plugins.git.GitChangeSet.setMail(GitChangeSet.java:416) at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:407) at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:466) at jenkins.scm.RunWithSCM.calculateCulprits(RunWithSCM.java:137)

          Weirdly, on my instances, I had that issue and the bug was caused by the update of the `Prometheus Metrics` plugin from 2.0.0 to 2.0.6

          Julien Duchesne added a comment - Weirdly, on my instances, I had that issue and the bug was caused by the update of the `Prometheus Metrics` plugin from 2.0.0 to 2.0.6

          I can confirm that downgrading Prometheus plugin solved issues we are seeing...

          Paulius Bulotas added a comment - I can confirm that downgrading Prometheus plugin solved issues we are seeing...

          Ian Williams added a comment -

          We (the OP) do not have Prometheus plugin installed, so the issue remains unresolved.

          Ian Williams added a comment - We (the OP) do not have Prometheus plugin installed, so the issue remains unresolved.

          Peter Ntende added a comment -

          In addition to the Prometheus Metrics plugin, I also had to remove to roll back influxDb, Git plugin and all git related plugins to previous versions.

          Peter Ntende added a comment - In addition to the Prometheus Metrics plugin, I also had to remove to roll back influxDb, Git plugin and all git related plugins to previous versions.

          Charles Tudor added a comment -

          We are getting a NPE when logging in.  I was able to narrow down the plugins to  

          • ldap:1.20
          • prometheus:2.0.6
          • jobConfigHistory:2.24
          • permissive-script-security:0.5

           

          Going back to prometheus:2.0.0 or permissive-script-security:0.4 fixes the issue. 

           

          Stack trace

          java.lang.NullPointerException at hudson.Util.fileToPath(Util.java:1501) at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145) at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92) at hudson.model.User.putUserFolderIfAbsent(User.java:806) at hudson.model.User.constructUserConfigFile(User.java:802) at hudson.model.User.save(User.java:796) at hudson.model.User.addProperty(User.java:336) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:835) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:796) at hudson.security.LDAPSecurityRealm.loadUserByUsername(LDAPSecurityRealm.java:786) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161) at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) Caused: com.google.common.util.concurrent.UncheckedExecutionException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764) at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127) at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1239) at hudson.model.User$CanonicalIdResolver.resolve(User.java:1180) at hudson.model.User.get(User.java:505) at hudson.model.User.getOrCreateByIdOrFullName(User.java:570) at hudson.model.User.get(User.java:551) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:802) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:796) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:790) at hudson.security.LDAPSecurityRealm$LDAPAuthenticationManager.authenticate(LDAPSecurityRealm.java:997) at org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:74) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:252) 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:1610) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1701) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:502) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) 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:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) at java.lang.Thread.run(Thread.java:748)

           

           

          Charles Tudor added a comment - We are getting a NPE when logging in.  I was able to narrow down the plugins to   ldap:1.20 prometheus:2.0.6 jobConfigHistory:2.24 permissive-script-security:0.5   Going back to prometheus:2.0.0 or permissive-script-security:0.4 fixes the issue.    Stack trace java.lang.NullPointerException at hudson.Util.fileToPath(Util.java:1501) at hudson.model.UserIdMapper.createDirectoryForNewUser(UserIdMapper.java:145) at hudson.model.UserIdMapper.putIfAbsent(UserIdMapper.java:92) at hudson.model.User.putUserFolderIfAbsent(User.java:806) at hudson.model.User.constructUserConfigFile(User.java:802) at hudson.model.User.save(User.java:796) at hudson.model.User.addProperty(User.java:336) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:835) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:796) at hudson.security.LDAPSecurityRealm.loadUserByUsername(LDAPSecurityRealm.java:786) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:172) at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:161) at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4767) at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) Caused: com.google.common.util.concurrent.UncheckedExecutionException at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2234) at com.google.common.cache.LocalCache.get(LocalCache.java:3965) at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4764) at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127) at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1239) at hudson.model.User$CanonicalIdResolver.resolve(User.java:1180) at hudson.model.User.get(User.java:505) at hudson.model.User.getOrCreateByIdOrFullName(User.java:570) at hudson.model.User.get(User.java:551) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:802) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:796) at hudson.security.LDAPSecurityRealm.updateUserDetails(LDAPSecurityRealm.java:790) at hudson.security.LDAPSecurityRealm$LDAPAuthenticationManager.authenticate(LDAPSecurityRealm.java:997) at org.acegisecurity.ui.webapp.AuthenticationProcessingFilter.attemptAuthentication(AuthenticationProcessingFilter.java:74) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:252) 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:1610) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1701) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1668) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:502) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) 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:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) at java.lang.Thread.run(Thread.java:748)    

          Ian Williams added a comment -

          sascht, We (the OP) do not have Prometheus or plugin permissive-script-security installed. While ldap plugin is installed, we use AD, not ldap, so the issue remains unresolved.

          Ian Williams added a comment - sascht , We (the OP) do not have Prometheus or plugin permissive-script-security installed. While ldap plugin is installed, we use AD, not ldap, so the issue remains unresolved.

            fbelzunc FĂ©lix Belzunce Arcos
            ianw Ian Williams
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: