Not able to create user using AEM User Module | Community
Skip to main content
GK-007
New Participant
October 16, 2015
Solved

Not able to create user using AEM User Module

  • October 16, 2015
  • 1 reply
  • 954 views

Hi All,

When i am creating user in AEM's user module ,i am seeing below exception in error.log and hence new user is not being created.If anyone encountered problem please help me.

 

11.04.2014 13:02:41.868 *ERROR* [172.19.238.171 [1397239361865] GET /wcm/bin/security/authorizables.json HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException javax.jcr.ItemNotFoundException: failed to build path of 4cf63681-514f-3ec1-bdaf-1c5bd873c557: 07902d15-3feb-41f2-a8c8-ecde30ee5229 has no child entry for 4cf63681-514f-3ec1-bdaf-1c5bd873c557

                at org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:291)

                at org.apache.jackrabbit.core.CachingHierarchyManager.buildPath(CachingHierarchyManager.java:210)

                at org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:395)

                at org.apache.jackrabbit.core.CachingHierarchyManager.getPath(CachingHierarchyManager.java:244)

                at org.apache.jackrabbit.core.ItemImpl.getPrimaryPath(ItemImpl.java:188)

 

Thanks,

G.K.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Try creating a User using this API:

http://jackrabbit.apache.org/api/2.0/org/apache/jackrabbit/api/security/user/UserManager.html

Here is a community article that retrives users using this API:

http://helpx.adobe.com/experience-manager/using/developing-aem-osgi-bundles-jackrabbit.html

It retrieves users using this API from within an OSGi bundle. However - once you learn how to use this API - you can just as easily create a new user. 

1 reply

smacdonald2008
smacdonald2008Accepted solution
New Participant
October 16, 2015

Try creating a User using this API:

http://jackrabbit.apache.org/api/2.0/org/apache/jackrabbit/api/security/user/UserManager.html

Here is a community article that retrives users using this API:

http://helpx.adobe.com/experience-manager/using/developing-aem-osgi-bundles-jackrabbit.html

It retrieves users using this API from within an OSGi bundle. However - once you learn how to use this API - you can just as easily create a new user.