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

sherrylynnh1858
Community profile sherrylynnh1858 Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 09-10-2017 4:01:49 AM
Offline
Top badges earned by sherrylynnh1858
Customize the badges you want to showcase on your profile
Re: RequestResponseFactory and FakeRequest
Avatar
Level 1
sherrylynnh1858
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
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

1.7K

Likes

0

Replies

0
Re: RequestResponseFactory and FakeRequest
Avatar
Level 1
sherrylynnh1858
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
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

1.7K

Likes

0

Replies

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

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
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

773

Likes

0

Replies

0
Likes given to