javax.naming.PartialResultException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When the search base does contain a value like this "dc=company,dc=ad". The search base is set to the root. You get the error. 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : Exception 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'dc=cmceu,dc=chicago-metallic,dc=ad' 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at org.pentaho.di.trans.steps.ldapinput.LDAPInput.processRow(LDAPInput.java:152) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at org.pentaho.di.trans.steps.ldapinput.LDAPInput.run(LDAPInput.java:338) 2008/01/22 16:38:03 - LDAP Input.0 - Finished processing (I=100, O=0, R=0, W=100, U=0, E=1) 2008/01/22 16:38:03 - dummy.0 - Finished processing (I=0, O=0, R=83, W=83, U=0, E=0) When you close the error window, the preview continues. The result is what i expected to get. When you run the transformation in normal mode, the transformation stops showing an error at the LDAP step.
    via by gunter rombauts,
  • When the search base does contain a value like this "dc=company,dc=ad". The search base is set to the root. You get the error. 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : Exception 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'dc=cmceu,dc=chicago-metallic,dc=ad' 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(Unknown Source) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at org.pentaho.di.trans.steps.ldapinput.LDAPInput.processRow(LDAPInput.java:152) 2008/01/22 16:38:03 - LDAP Input.0 - ERROR (version 3.0.2, build 3 from 2008/01/15 09:37:15) : at org.pentaho.di.trans.steps.ldapinput.LDAPInput.run(LDAPInput.java:338) 2008/01/22 16:38:03 - LDAP Input.0 - Finished processing (I=100, O=0, R=0, W=100, U=0, E=1) 2008/01/22 16:38:03 - dummy.0 - Finished processing (I=0, O=0, R=83, W=83, U=0, E=0) When you close the error window, the preview continues. The result is what i expected to get. When you run the transformation in normal mode, the transformation stops showing an error at the LDAP step.
    via by gunter rombauts,
  • LDAP error, pls help
    via by 843793,
  • GitHub comment 703#130543042
    via GitHub by cjellick
    ,
  • If synchronisation with LDAP directory fails due to 'Unprocessed Continuation Reference' JIRA reports in UI the success: !sync.png! although the sync doesn't bring new users nor groups to JIRA! In the same time JIRA reports the following error in the log file: {noformat} 2011-04-07 13:25:21,729 QuartzWorker-1 INFO ServiceRunner [atlassian.crowd.directory.DbCachingRemoteDirectory] full synchronisation for directory [ 10001 ] starting 2011-04-07 13:25:21,739 QuartzWorker-1 INFO ServiceRunner [atlassian.crowd.directory.DbCachingRemoteDirectory] synchronisation complete in [ 10ms ] 2011-04-07 13:25:21,760 QuartzWorker-1 ERROR ServiceRunner [atlassian.crowd.directory.DbCachingDirectoryPoller] Error occurred while refreshing the cache for directory [ 10001 ]. com.atlassian.crowd.exception.OperationFailedException: java.util.concurrent.ExecutionException: com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.PartialResultException: Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=win2k8,DC=local' at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAllUsers(UsnChangedCacheRefresher.java:255) at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:34) at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAll(UsnChangedCacheRefresher.java:212) at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:568) at com.atlassian.crowd.manager.directory.DirectorySynchroniserHelperImpl.synchronise(DirectorySynchroniserHelperImpl.java:80) at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:59) at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50) at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJob.execute(DirectoryPollerJob.java:34) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: java.util.concurrent.ExecutionException: com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.PartialResultException: Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=win2k8,DC=local' at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher.synchroniseAllUsers(UsnChangedCacheRefresher.java:237) ... 10 more Caused by: com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.PartialResultException: Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=win2k8,DC=local' at com.atlassian.crowd.directory.SpringLDAPConnector.pageSearchResults(SpringLDAPConnector.java:352) at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntitiesWithRequestControls(SpringLDAPConnector.java:386) at com.atlassian.crowd.directory.SpringLDAPConnector.searchEntities(SpringLDAPConnector.java:371) at com.atlassian.crowd.directory.SpringLDAPConnector.searchUserObjects(SpringLDAPConnector.java:567) at com.atlassian.crowd.directory.SpringLDAPConnector.searchUsers(SpringLDAPConnector.java:955) at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher$1.call(UsnChangedCacheRefresher.java:170) at com.atlassian.crowd.directory.ldap.cache.UsnChangedCacheRefresher$1.call(UsnChangedCacheRefresher.java:165) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.springframework.ldap.PartialResultException: Unprocessed Continuation Reference(s); nested exception is javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=win2k8,DC=local' at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:203) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:315) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:237) at com.atlassian.crowd.directory.SpringLDAPConnector.pageSearchResults(SpringLDAPConnector.java:316) ... 11 more Caused by: javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=win2k8,DC=local' at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794) at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:295) ... 13 more {noformat} Workaround to the {[Unprocessed Continuation Reference}} issue can be found in [this KB article|http://confluence.atlassian.com/display/JIRAKB/User+Lookups+Fail+With+%27PartialResultExceptions%27+Due+to+Active+Directory+%27follow+referrals%27+Configuration]
    via by Bogdan Dziedzic [Atlassian],
    • javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'dc=cmceu,dc=chicago-metallic,dc=ad' at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(Unknown Source) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(Unknown Source) at org.pentaho.di.trans.steps.ldapinput.LDAPInput.processRow(LDAPInput.java:152) at org.pentaho.di.trans.steps.ldapinput.LDAPInput.run(LDAPInput.java:338)

    Users with the same issue

    rlovtangenrlovtangen
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,