Editing Existing JIRA Delegated Directory Throws Error Request processing failed nested exception is java.lang.NullPointerException

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

Symptoms

  1. Stack trace is being thrown immediately after clicking the Test Settings button

The following appears in the atlassian-jira.log:

1 2 2012-06-11 23:05:55,370 http-8443-4 ERROR admin 1385x1489x1 ifaia6 1.2.3.4 /plugins/servlet/embedded-crowd/configure/delegatingldap/ [atlassian.plugin.servlet.ServletModuleContainerServlet] Request processing failed; nested exception is java.lang.NullPointerException org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException

Cause

There is(are) necessary value that is empty in the Directory Configuration.

Resolution

  1. Edit the JIRA Delegated Authentication Directory

  2. Enable the 'Copy User on Login' configuration

  3. Ensure that the LDAP URL and Port Number is specified

  4. Do the update that you would like to perform. Fill In the User Schema Settings with the neccessary configuration.

  5. Test the settings and Save it.

  6. Edit JIRA Delegated Authentication Directory again

  7. Disable the 'Copy User on Login' configuration

  8. Test and save it again

ℹ️ Please see our Troubleshooting LDAP User Management documentation for further assistance with diagnosing LDAP problems.

Updated on April 24, 2025

Still need help?

The Atlassian Community is here for you.