shaheenas113483
shaheenas113483
08-08-2019
I have recently upgrade my AEM instance from 6.3 to 6.5 and when I try to do Roll Out as admin, I get the Error: Can't create child on a synthetic root.
What does this error imply?
kautuk_sahni
Community Manager
kautuk_sahni
Community Manager
26-08-2019
Can you just check this with admin user or add everyone group to root folder(I do read that you having given full access)?
If this problem still persists then create a case with Support with Referring CQ-4218938.
-Kautuk
Vish_dhaliwal
Employee
Vish_dhaliwal
Employee
26-08-2019
I have seen this exception in a few other use cases like folder creation, user creation etc. Can you provide the complete error message?
Is this happening only on Rollout process?
shaheenas113483
shaheenas113483
04-09-2019
Earlier it was happening only during roll out, now its happening for anything that I do, which requires node creation. Error:
*ERROR* [sling-default-3-Registered Service.5742] org.apache.sling.commons.scheduler.impl.QuartzScheduler Exception during job execution of job 'org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageCleanup@2dad6271' with name 'Registered Service.5742' : Can't create child on a synthetic root
java.lang.IllegalArgumentException: Can't create child on a synthetic root
at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.create(ResourceResolverImpl.java:968) [org.apache.sling.resourceresolver:1.6.8]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:671) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:659) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:659) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:659) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:659) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java:659) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]
at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]
at org.apache.sling.distribution.packaging.impl.DistributionPackageUtils.getPackagesRoot(DistributionPackageUtils.java:282) [org.apache.sling.distribution.core:0.4.0]
at org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageBuilder.getPackages(ResourceDistributionPackageBuilder.java:245) [org.apache.sling.distribution.core:0.4.0]
at org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageCleanup.run(ResourceDistributionPackageCleanup.java:60) [org.apache.sling.distribution.core:0.4.0]
at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:347) [org.apache.sling.commons.scheduler:2.7.2]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [org.apache.sling.commons.scheduler:2.7.2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Vish_dhaliwal
Employee
Vish_dhaliwal
Employee
05-09-2019
Check out this post Getting error "Can't create child on a synthetic root" in 6.3 and try kautuksahni's suggestion.
srikanthg212933
srikanthg212933
22-10-2019
Hi,
Did u find any solution. I am also facing similar issue while installing package in aem 6.5
shaheenas113483
shaheenas113483
22-10-2019
Hi Srikanth,
The issue was due to missing permissions at the node level. You can add permissions to the required node from the Access Control Tab. Suppose I needed to add permissions to root level and also some specific permissions to var node. In my case I needed to add system users to those node and give the users permissions.
Regards,
Shaheena