NullPointerException when Viewing the People Directory
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
When viewing the people directory a null pointer exception appears in the UI:
1
2
3
4
java.lang.NullPointerException
at com.atlassian.confluence.user.actions.PeopleDirectoryAction.search(PeopleDirectoryAction.java:124)
at com.atlassian.confluence.user.actions.PeopleDirectoryAction.doBrowse(PeopleDirectoryAction.java:107)
Cause
The index has a null value.
Resolution
Try rebuilding the index from Administration > Content Index
. If that fails, rebuild the Content Indices from scratch.
Was this helpful?