我尝试在本地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)
可能是根本原因?
答案 0 :(得分:1)
我记得在某些用户没有自己的profile
或preferences
节点的读取权限之前遇到问题。我建议使用/useradmin
仔细检查这些用户的权限。