JIRA throws javax.naming.PartialResultException: Unprocessed Continuation Reference(s) during log in attempt

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Problem

When a user from an LDAP directory attempts a log in, the following stack trace is thrown in the atlassian-jira.log

1 2 3 4 5 6 7 8 9 10 11 12 13 2015-03-19 16:09:35,905 http-bio-8080-exec-18 DEBUG anonymous 969x41355x1 8t5pto 198.147.38.85,0:0:0:0:0:0:0:1 /rest/gadget/1.0/login [springframework.ldap.core.LdapTemplate] PartialResultException encountered and ignored javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=example,DC=com' at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source) at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.getNextBatch(Unknown Source) at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMoreImpl(Unknown Source) at com.sun.jndi.ldap.AbstractLdapNamingEnumeration.hasMore(Unknown Source) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:295) at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:237) at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper$4.call(LdapTemplateWithClassLoaderWrapper.java:99) at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper$4.call(LdapTemplateWithClassLoaderWrapper.java:96) at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper.invokeWithContextClassLoader(LdapTemplateWithClassLoaderWrapper.java:54) at com.atlassian.crowd.directory.ldap.LdapTemplateWithClassLoaderWrapper.search(LdapTemplateWithClassLoaderWrapper.java:96)

Diagnosis

Follow Referrals is not enabled

Cause

The Unprocessed Continuation Reference(s)message is saying that there is a referral on that user, and since we have referrals disabled, it throws an error.

Solution

Resolution

  1. Identify the directory which this user is logging on from

  2. Navigate to the User Directory page and Edit this particular directory

  3. Enable Follow Referrals

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.