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

sherrylynnh1858
sherrylynnh1858
Offline

Badges

Badges
2

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
3

Discussions

Discussions
2

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by sherrylynnh1858
Customize the badges you want to showcase on your profile
Re: RequestResponseFactory and FakeRequest
Avatar
Give Back 3
Level 1
sherrylynnh1858
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
View profile
sherrylynnh1858
- Adobe Experience Manager
Thanks Jorg and Linda for you replies.Linda, I've tried the URL approach but find I get a 401 Jorg,So I've tried to use Apache Sling :: Sling Servlet Helpers ​but don't appear to be able to get at the content... I can't be using the servlet helpers correctly?I added the dependency to my pom as follows: org.apache.sling org.apache.sling.servlet-helpers 1.1.2and replaced response and request with mock versions as you'll see below (I've commented them out). I had to move things around because MockS...

Views

2.1K

Likes

0

Replies

0
Re: RequestResponseFactory and FakeRequest
Avatar
Give Back 3
Level 1
sherrylynnh1858
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
View profile
sherrylynnh1858
- Adobe Experience Manager
I too am encountering this problem for a specific instance of 6.3 but the line number is a little different:Caused by: java.lang.UnsupportedOperationException: nullat com.day.cq.contentsync.impl.handler.util.FakeRequest$FakeHttpSession.getAttribute(FakeRequest.java:68)at org.apache.sling.scripting.jsp.jasper.runtime.PageContextImpl.doFindAttribute(PageContextImpl.java:470)at org.apache.sling.scripting.jsp.jasper.runtime.PageContextImpl.findAttribute(PageContextImpl.java:455)at org.apache.jsp.app...

Views

2.1K

Likes

0

Replies

1
Re: Programmatically add permissions to system user in AEM 6.1
Avatar
Give Back 3
Level 1
sherrylynnh1858
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
View profile
sherrylynnh1858
- Adobe Experience Manager
I too would like to know how to do this.Did you get anywhere with this? Any pointers would be appreciated, thanks.

Views

1.0K

Likes

0

Replies

0
Likes given to