Expand my Community achievements bar.

SOLVED

javax.jcr.RepositoryException: Unable to retrieve properties for

Avatar

Level 4

Can someone help on this below error? I see this in author logs when the user logs in. @arunpatidar26 

 

 

com.adobe.granite.security.user.util.AuthorizableUtil Unable to get display name for srikanth.pokkunuri javax.jcr.RepositoryException: Unable to retrieve properties for srikanth.pokkunuri at com.adobe.granite.security.user.internal.UserPropertiesManagerImpl.checkValidAuthorizableInfo(UserPropertiesManagerImpl.java:676) [com.adobe.granite.security.user:0.4.50.CQ640-B0002] at com.adobe.granite.security.user.internal.UserPropertiesManagerImpl.getUserProperties(UserPropertiesManagerImpl.java:196) [com.adobe.granite.security.user:0.4.50.CQ640-B0002] at com.adobe.granite.security.user.util.AuthorizableUtil.getProfile(AuthorizableUtil.java:68) [com.adobe.granite.security.user:0.4.50.CQ640-B0002] at com.adobe.granite.security.user.util.AuthorizableUtil.getFormattedName(AuthorizableUtil.java:186) [com.adobe.granite.security.user:0.4.50.CQ640-B0002] at com.adobe.granite.security.user.util.AuthorizableUtil.getFormattedName(AuthorizableUtil.java:135) [com.adobe.granite.security.user:0.4.50.CQ640-B0002] at org.apache.jsp.libs.cq.gui.components.coral.admin.page.columnitem.columnitem_jsp._jspService(columnitem_jsp.java:408) at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [org.apache.sling.scripting.jsp:2.2.7.B002] at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [org.apache.felix.http.servlet-api:1.1.2] at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502) [org.apache.sling.scripting.jsp:2.2.7.B002] at ... 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

This warning is caused by references to users (in "jcr:lastModified" or "jcr:created" properties), who do no longer exist.

 

Please follow these steps to suppress the  messages:

 

- Go to /system/console/slinglog

- Log level - ERROR

- Logger: com.adobe.granite.security.user.util.AuthorizableUtil

- Log file: error.log

 

Lastly, I see there has been a new backport request opened NPR-30977 for 6.5. So, the chances are this might get fixed in upcoming services packs.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

This warning is caused by references to users (in "jcr:lastModified" or "jcr:created" properties), who do no longer exist.

 

Please follow these steps to suppress the  messages:

 

- Go to /system/console/slinglog

- Log level - ERROR

- Logger: com.adobe.granite.security.user.util.AuthorizableUtil

- Log file: error.log

 

Lastly, I see there has been a new backport request opened NPR-30977 for 6.5. So, the chances are this might get fixed in upcoming services packs.

Avatar

Employee
@Jaideep_Brar All that changed in that backport request was that instead of dumping the entire stack-trace, we're just logging the first line of the WARN. So they will still see : com.adobe.granite.security.user.util.AuthorizableUtil Unable to get display name for srikanth.pokkunuri in the logs.