gpt4 book ai didi

java - AEM6.2 : What could cause NullPointerException in UserPropertiesManagerImpl?

转载 作者:行者123 更新时间:2023-11-30 06:30:08 32 4
gpt4 key购买 nike

我尝试在本地 AEM 环境中设置一些仅创作用户,但登录时出现空白页面,但日志中出现以下异常:

20.09.2017 13:27:18.351 *ERROR* [0:0:0:0:0:0:0:1 [1505939238326] GET /projects.html/content/projects HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
java.lang.NullPointerException: null
at com.adobe.granite.security.user.internal.UserPropertiesManagerImpl.getUserProperties(UserPropertiesManagerImpl.java:142)
at org.apache.jsp.libs.granite.ui.components.shell.collectionpage.collectionpage_jsp.getShowOnboarding(collectionpage_jsp.java:127)
at org.apache.jsp.libs.granite.ui.components.shell.collectionpage.collectionpage_jsp._jspService(collectionpage_jsp.java:346)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

根本原因可能是什么?

最佳答案

我记得之前遇到过一个问题,即某些用户没有对自己的个人资料首选项节点的读取访问权限。我建议使用 /useradmin 仔细检查这些用户的权限。

关于java - AEM6.2 : What could cause NullPointerException in UserPropertiesManagerImpl?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46331383/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com