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

aemey
aemey
Offline

Badges

Badges
5

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
3

Posts

Posts
5

Discussions

Discussions
1

Questions

Questions
4

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by aemey
Customize the badges you want to showcase on your profile
Re: JUnit 5 throws java.lang.NullPointerException: Cannot invoke "org.apache.sling.api.resource.Resource.getPath()" because "parent" is null - Adobe Experience Manager 23-11-2021
Thanks for the response. I have extended my ExampleServlet to add backend call. This is hard to share here.But code is failed through Unit test here. I am sending folderPath, folderName from ExampleServletTest and folderProperties added through HashMap final Map folderProperties = new HashMap<>();folderProperties.put(JcrConstants.JCR_PRIMARYTYPE,JcrResourceConstants.NT_SLING_FOLDER);folderProperties.put(JcrConstants.JCR_TITLE, folderTitle); Resource resource = resolver.create(resolver.getResourc...

Views

2.1K

Like

1

Replies

1
JUnit 5 throws java.lang.NullPointerException: Cannot invoke "org.apache.sling.api.resource.Resource.getPath()" because "parent" is null - Adobe Experience Manager 22-11-2021
Hi, I have a servlet uses SlingServletPaths and Get Method. Servlet receives more than one request parameter then perform operations.I have below ServletTest to test my ExampleServlet. Below Error is thrown when I ran mvn clean install commandjava.lang.NullPointerException: Cannot invoke "org.apache.sling.api.resource.Resource.getPath()" because "parent" is null @ExtendWith(AemContextExtension.class)public class ExampleServletTest { ExampleServlet example = new ExampleServlet(); @test void testD...

Views

2.2K

Likes

0

Replies

3
Re: Applying styles at SPA template layout level - Adobe Experience Manager 08-09-2021
Hi, Thank you the response. Provided above examples are related to apply styles at page level policy. I am looking for layout level. Please check below screen shot. I don't see any issue for non-spa templates when I apply styles at layout level. Issue occurs only on SPA.Thanks

Views

104

Like

1

Replies

0
Applying styles at SPA template layout level - Adobe Experience Manager 07-09-2021
Hello, I have been playing around apply styles at SPA template layout level. I noticed applying styles to page level works fine. But template level doesn't show any applied styles. There is no error on console logs. Is there any documentation available to test? Thanks.

Views

112

Likes

0

Replies

2
Re: AEM Cloud Service - Extend React SPA Sling Model for Page Style System support | AEM Community Blog Seeding - Adobe Experience Manager 20-08-2021
Hi, Is it possible to apply styles at layout level in SPA. I tried your above example without writing any code and worked as expected in SPA page level. Is there any reference/documentation to point out layout level for SPA. Thanks.

Views

123

Like

1

Replies

0
Likes from