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

The user we are looking for might exist javax.naming.PartialResultException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Production

      We are seeing the below logs in our Jenkins. Can you please advise what's the fix for this issue? *We are currently using Active Directory plugin
      Version 2.30*

      2023-04-20 22:28:23.481+0000 [id=1608650]       WARNING h.p.a.LDAPSearchBuilder#searchOne: JENKINS-42687 The user we are looking for might exist
      javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=x,DC=y,DC=co,DC=z'
              at java.naming/com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3022)
              at java.naming/com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2996)
              at java.naming/com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1875)
              at java.naming/com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1798)
              at java.naming/com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1815)
              at java.naming/com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:418)
              at java.naming/com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:396)
              at java.naming/com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:378)
              at java.naming/javax.naming.directory.InitialDirContext.search(InitialDirContext.java:286)
              at hudson.plugins.active_directory.LDAPSearchBuilder.search(LDAPSearchBuilder.java:120)
              at hudson.plugins.active_directory.LDAPSearchBuilder.searchOne(LDAPSearchBuilder.java:85)
              at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.lambda$retrieveUser$0(ActiveDirectoryUnixAuthenticationProvider.java:392)
              at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2406)
              at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1908)
              at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2404)
              at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2387)
              at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)
              at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62)
              at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:454)
              at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:297)
              at hudson.plugins.active_directory.ActiveDirectoryUnixAuthenticationProvider.retrieveUser(ActiveDirectoryUnixAuthenticationProvider.java:223)
              at hudson.plugins.active_directory.AbstractActiveDirectoryAuthenticationProvider.loadUserByUsername(AbstractActiveDirectoryAuthenticationProvider.java:47)
              at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.loadUserByUsername(ActiveDirectorySecurityRealm.java:890)
              at hudson.security.AbstractPasswordBasedSecurityRealm.loadUserByUsername2(AbstractPasswordBasedSecurityRealm.java:118)
              at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:170)
              at jenkins.security.UserDetailsCache$Retriever.call(UserDetailsCache.java:159)
              at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4868)
              at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3533)
              at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2282)
              at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2159)
              at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2049)
              at com.google.common.cache.LocalCache.get(LocalCache.java:3966)
              at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4863)
              at jenkins.security.UserDetailsCache.loadUserByUsername(UserDetailsCache.java:127)
              at hudson.model.User$UserIDCanonicalIdResolver.resolveCanonicalId(User.java:1255)
              at hudson.model.User$CanonicalIdResolver.resolve(User.java:1196)
              at hudson.model.User.get(User.java:524)
              at hudson.plugins.git.GitChangeSet.getUser(GitChangeSet.java:416)
              at hudson.plugins.git.GitChangeSet.findOrCreateUser(GitChangeSet.java:488)
              at hudson.plugins.git.GitChangeSet.getAuthor(GitChangeSet.java:587)
              at io.jenkins.blueocean.service.embedded.rest.ChangeSetResource.getAuthor(ChangeSetResource.java:48)
              at io.jenkins.blueocean.commons.stapler.export.MethodProperty.getValue(MethodProperty.java:72)
              at io.jenkins.blueocean.commons.stapler.export.ExportInterceptor$1.getValue(ExportInterceptor.java:45)
              at io.jenkins.blueocean.commons.stapler.Export$BlueOceanExportInterceptor.getValue(Export.java:195)
              at io.jenkins.blueocean.commons.stapler.export.Property.writeTo(Property.java:136)
              at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:220)
              at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:216)
              at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:303)
              at io.jenkins.blueocean.commons.stapler.export.Property.writeBuffered(Property.java:175)
              at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:235)
              at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:169)
              at io.jenkins.blueocean.commons.stapler.export.Property.writeTo(Property.java:154)
              at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:220)
              at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:216)
              at io.jenkins.blueocean.commons.stapler.export.Model.writeTo(Model.java:191)
              at io.jenkins.blueocean.commons.stapler.export.Model.writeTo(Model.java:211)
              at io.jenkins.blueocean.commons.stapler.export.Model.writeTo(Model.java:175)
              at io.jenkins.blueocean.commons.stapler.Export.toJson(Export.java:89)
              at io.jenkins.blueocean.commons.stapler.Export.toJson(Export.java:59)
              at io.jenkins.blueocean.commons.stapler.Export.toJson(Export.java:46)
              at io.jenkins.blueocean.preload.PipelineActivityStatePreloader.getFetchData(PipelineActivityStatePreloader.java:74)
              at io.jenkins.blueocean.preload.RESTFetchPreloader.getStateJson(RESTFetchPreloader.java:69)
              at jdk.internal.reflect.GeneratedMethodAccessor1175.invoke(Unknown Source)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              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:76)
              at org.apache.commons.jelly.tags.core.CoreTagLibrary$3.run(CoreTagLibrary.java:134)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              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:265)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
              at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
              at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:99)
              at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:172)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:265)
              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:265)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:101)
              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.JellyViewScript.run(JellyViewScript.java:99)
              at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:66)
              at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:55)
              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:284)
              at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:104)
              at org.kohsuke.stapler.IndexViewDispatcher.dispatch(IndexViewDispatcher.java:32)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:762)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:894)
              at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:475)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:762)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:894)
              at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:475)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:762)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:894)
              at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:475)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:762)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:894)
              at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:475)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:762)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:894)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:731)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:894)
              at org.kohsuke.stapler.MetaClass$9.dispatch(MetaClass.java:475)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:762)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:894)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:690)
              at org.kohsuke.stapler.Stapler.service(Stapler.java:240)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
              at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)
              at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:157)
              at com.browserstack.automate.ci.jenkins.observability.AccessControlsFilter.doFilter(AccessControlsFilter.java:80)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
              at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:248)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
              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 io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
              at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:60)
              at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
              at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
              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:202)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
              at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:160)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
              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:106)
              at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:97)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:223)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:217)
              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:112)
              at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82)
              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:202)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
              at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:549)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1571)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1383)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1544)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1305)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
              at org.eclipse.jetty.server.Server.handle(Server.java:563)
              at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505)
              at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)
              at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
              at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
              at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
              at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)
              at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)
              at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)
              at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:139)
              at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:933)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1077)
              at java.base/java.lang.Thread.run(Thread.java:829)
       

            fbelzunc Félix Belzunce Arcos
            saikiran_dusari Saikiran Dusari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: