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

prateekkumar
Community profile prateekkumar Level 1
Technical Lead
Sydney
2 BADGES
Level 1

Level 1

Learn more
Joined the community 18-08-2021 10:12:01 PM
Online
Top badges earned by prateekkumar
Customize the badges you want to showcase on your profile
Runtime error while running JUnit5 AEM Mocks test
Avatar
Ignite 1
Level 1
prateekkumar
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
prateekkumar
- Adobe Experience Manager
Hi all, I am trying to use JUnit 5 AEM Mocks(wcm.io) in our existing AEM project. I have included all the required dependencies and there are no compilation errors. However, I get the below error when I try to run my test. Has anyone seen this error and how did you manage to fix it? java.lang.RuntimeException: Bind method with name bindEventAdmin not found for reference 'eventAdmin' for class org.apache.sling.testing.mock.sling.MockAdapterManagerImpl at org.apache.sling.testing.mock.osgi.OsgiSer...

Views

35

Likes

0

Replies

1
Re: org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable javax.servlet.ServletException: java.lang.NullPointerException
Avatar
Ignite 1
Level 1
prateekkumar
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Ignite 1
Give Back
View profile
prateekkumar
- Adobe Experience Manager
Hi Siva, Were you able to fix this issue? Would you be able to tell us the root cause and the fix? I am getting the same issue with the Workflows.

Views

3

Likes

0

Replies

0
Likes given to