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
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
Edit the JIRA Delegated Authentication Directory
Enable the 'Copy User on Login' configuration
Ensure that the LDAP URL and Port Number is specified
Do the update that you would like to perform. Fill In the User Schema Settings with the neccessary configuration.
Test the settings and Save it.
Edit JIRA Delegated Authentication Directory again
Disable the 'Copy User on Login' configuration
Test and save it again
ℹ️ Please see our Troubleshooting LDAP User Management documentation for further assistance with diagnosing LDAP problems.
Was this helpful?