A lot of warn messages Cannot handle protected PropInfo org.apache.jackrabbit.oak.spi.xml | Community
Skip to main content
New Participant
September 18, 2017
Solved

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

  • September 18, 2017
  • 6 replies
  • 2021 views

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

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 joerghoh

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

6 replies

joerghoh
joerghohAccepted solution
Employee
September 19, 2017

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

New Participant
September 19, 2017

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.

joerghoh
Employee
September 18, 2017

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.

New Participant
September 18, 2017

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.

smacdonald2008
New Participant
September 18, 2017

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.

smacdonald2008
New Participant
September 18, 2017

Has this been occuring for a while of just started?

Did this start happening after new users were added?