While impersonating to createcollectionwizard via new user created, seeing NULL pointer error | Community
Skip to main content
Level 2
December 15, 2021
Solved

While impersonating to createcollectionwizard via new user created, seeing NULL pointer error

  • December 15, 2021
  • 1 reply
  • 480 views

URL: http://localhost:4502/mnt/overlay/dam/gui/content/collections/createcollectionwizard.html/content/dam/collections?contentPath=/content/dam/collections

 

I have added the user to dam-users group. Along with that, I have given below permission.

jcr:read to /home/users

 

Seeing below error:

Failed executing script /libs/cq/Page/Page.jsp: java.lang.NullPointerException

Cannot serve request to /mnt/overlay/dam/gui/content/collections/createcollectionwizard.html/content/dam/collections in BundledScriptServlet (/libs/dam/gui/coral/components/admin/collections/createcollection/selfcollectionmember/selfcollectionmember.jsp)

Exception:

java.lang.NullPointerException
	at libs.dam.gui.coral.components.admin.collections.createcollection.selfcollectionmember.selfcollectionmember__002e__jsp._jspService(selfcollectionmember__002e__jsp.java:163)
	at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

Screenshot:

Kindly let me know what other permissions are required to solve this issue.

Thanks in advance!

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 lmalyala

I managed to find the root cause of the issue. It was because, I missed adding user's email ID while creating the user. After I have added user's email, this issue is resolved!

1 reply

lmalyalaAuthorAccepted solution
Level 2
December 15, 2021

I managed to find the root cause of the issue. It was because, I missed adding user's email ID while creating the user. After I have added user's email, this issue is resolved!