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
BedrockMission!

Learn More

View all

Sign in to view all badges

ResourceResolverFactory is NULL (Adobe Experience Manager AEM)

Avatar

Avatar
Boost 3
Level 2
priyankam868659
Level 2

Likes

4 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 2
priyankam868659
Level 2

Likes

4 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
priyankam868659
Level 2

21-06-2019

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.

Replies

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct Reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,134 likes

Total Posts

3,161 posts

Correct Reply

1,079 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

22-06-2019

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?