Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

A lot of warn messages Cannot handle protected PropInfo org.apache.jackrabbit.oak.spi.xml

Avatar

Level 2

We are getting below logs continuously in author instance(AEM 6.1).

*WARN* [pool-7-thread-2] org.apache.jackrabbit.oak.security.user.UserImporter Cannot handle protected PropInfo org.apache.jackrabbit.oak.spi.xml.PropInfo@476ad105. Node /home/users/J/John/profile/photos: { jcr:primaryType = sling:Folder, jcr:created = 2017-09-18T04:59:24.387-04:00, jcr:createdBy = admin} doesn't represent a valid Authorizable.

Also 'User And Profile Modification' workflow is getting launched continuously. But there is no profile modification done from users.

Can any one suggest why this is happening and how can we fix this?

Thanks in advance.

Akhila

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

ok, looks like something else went wrong...

That seems to be the code for it:

jackrabbit-oak/UserImporter.java at 1.4 · apache/jackrabbit-oak · GitHub

Looks like some code is trying to create a user under the wrong path? We can only make a lot of assumptions, but cannot really help you.

Please raise a daycare ticket and provide:

* a full information package (get it at http://localhost:4502/system/console/status-slinglogs  and click on "Download as zip)

* threaddumps

* all log files

Thanks,

Jörg

View solution in original post

6 Replies

Avatar

Level 10

Has this been occuring for a while of just started?

Did this start happening after new users were added?

Avatar

Level 10

Just checked with internal team - they said--

I’ve seen an issue with user’s profile photo. It failed when user path has spaces.

Also, it could be that it’s a permissions issue.

Avatar

Level 2

This is happening for existing users also and occurring all the time and we verified that user path doesn't have any space. We are not able to see any profile updates too. but still org.apache.jackrabbit.oak.security.user.UserImporter is getting run always.

We have deleted photo folder for a profile from CRX. But after this warning, the photo folder got created again.

Avatar

Employee Advisor

Check the nodetype of /home/users/J/John; it should have a primary type of "rep:User", but it's a sling:Folder. The primary type is a protected folder, so there is no chance to change it manually in CRX DE Lite. It's best if you recreate the user via /useradmin and then copy the profile etc manually over.

Also check if you have code which might have caused this.

Avatar

Level 2

Thanks Jorg.

The node type of /home/users/J/John is "rep:User". There is a folder that will be created under profile, when user upload a profile image which is of type sling folder.

Avatar

Correct answer by
Employee Advisor

Hi,

ok, looks like something else went wrong...

That seems to be the code for it:

jackrabbit-oak/UserImporter.java at 1.4 · apache/jackrabbit-oak · GitHub

Looks like some code is trying to create a user under the wrong path? We can only make a lot of assumptions, but cannot really help you.

Please raise a daycare ticket and provide:

* a full information package (get it at http://localhost:4502/system/console/status-slinglogs  and click on "Download as zip)

* threaddumps

* all log files

Thanks,

Jörg