Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

ResourceResolverFactory is NULL (Adobe Experience Manager AEM)


Level 2

I am trying to get a reference to the ResourceResolver from the ResourceResolverFactory as follows:

Can someone please tell me what I am doing wrong? The Adobe ExperienceManager API version v6.0.

1 Reply


Employee Advisor

This is happening if the reference is not injected. The most likely root cause is that this class is not a service, and thus the fields are not injected. Can you post the annotations at class level? How do you get access to an instance of this class?