@aemey, "parent is null" in NPE refers to the first argument on the create method which is nothing but the parent resource under which we are trying to create a resource. Resource resource = resolver.create(resolver.getResource(folderPath), folderName,folderProperties);Cross check that the AemContex...