The User Admin UI no longer works | AEM 6.1, 6.2


The following error occurs while accessing the /useradmin UI:

*ERROR* [ [1487700210814] GET /bin/security/authorizables.json HTTP/1.1] service: Uncaught Throwable
java.lang.NullPointerException: null


AEM 6.1 and 6.2.


Users set as impersonator do not exist anymore in AEM.


Install the latest Cumulative Fix Pack for AEM 6.1 or 6.2.

Following are the steps to use as a workaround until the fix pack is applied:

  1. Get a JSON request from http://aem-host:port/bin/security/authorizables.json.

  2. Analyze the JSON and find the first error related to sudoers (impersonators), for example:
    Following is the json data displayed before the errors:

    "country":"United States",
    "country_xss":"United States",
    "memberOf":[ ],
    "id": <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 
    <head><title>500 Internal Server Error</title></head> 
    <h1>Internal Server Error</h1>
  3. Use CRXDE to search the user jsmith with the XPath query, for example: /jcr:root/home/users//element(*,rep:User)[@rep:principalName="jsmith"].

  4. Review the user's rep: impersonators property and find the name of an orphaned impersonator.

  5. Find a complete list of users with the orphaned impersonator: /jcr:root/home/users//element(*,rep:User)[@rep:impersonators="jsmith"].

  6. Use /useradmin to create orphaned impersonator "jsmith".

  7. From /useradmin, find all users with the step 5, go to the Impersonators tab, and remove jsmith.  Ensure to click Save.

  8. Delete orphaned impersonator jsmith.

  9.  Repeat the steps if you have more than one orphaned impersonator.


Get help faster and easier

New user?