Context-Aware Configuration getting Null in the STG environment
Context-Aware Configuration under Experience fragments are getting null in the STG environment but it's working in DEV and local environments. The content structure is the same in all environments.
ResourceResolver serviceResolver = Utils.getResourceResolver(resolverFactory,SUB_SERVICE);//Getting Resource Resolver for SUBSERVICE
Resource contentResource = serviceResolver.getResource(path);
WorkFlowCaConfig config = contentResource.adaptTo(ConfigurationBuilder.class).as(WorkFlowCaConfig.class);
contentResource also gets null.
Thanks
