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

peady
peady
Offline

Badges

Badges
6

Accepted Solutions

Accepted Solutions
1

Likes

Likes
0

Posts

Posts
6

Discussions

Discussions
3

Questions

Questions
3

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by peady
Customize the badges you want to showcase on your profile
Re: AEM 6.2 OSGi HTTP proxy with authentication drops username
Avatar
Ignite 3
Level 2
peady
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
peady
- Adobe Experience Manager
I can confirm that upgrading 6.2 to included SP1 (which I had already) and CFP17 (I only had CFP2 !) does indeed rectify the problem.Thanks for your suggestion.

Views

189

Likes

0

Replies

0
AEM 6.2 OSGi HTTP proxy with authentication drops username
Avatar
Ignite 3
Level 2
peady
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
peady
- Adobe Experience Manager
This link for 6.2: OSGi Configuration Settings suggests org.apache.http.proxyconfigurator is available. However the java docs appear to be missing it: "The Adobe AEM Quickstart and Web Application." Regardless, if I attempt to use org.apache.http.osgi.services.ProxyConfiguration and associated org.apache.http.osgi.services.HttpClientBuilderFactory within a vanilla 6.2 instance I see that the username, even tho it's set in the Web Console config, is ignored (an empty string is used when debugging...

Views

305

Likes

0

Replies

2
Bundled Apache HTTP client - no proxy
Avatar
Ignite 3
Level 2
peady
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
peady
- Adobe Experience Manager
AEM 6.2/3/4Does anyone know if it's possible to use (or uses) the Apache HttpClient OSGi bundle (org.apache.httpcomponents.httpclient) without proxy settings?In other words, if it's disabled by unchecking "Enable HTTP Proxy" and I try to use an instance of it via HttpClientBuilderFactory, will it behave as a regular Apache HTTP client?I suspect so...Regards,David(Don't say try it )

Views

162

Likes

0

Replies

2
Re: SlingFilter doFilter NPE root cause and diagnosis
Avatar
Ignite 3
Level 2
peady
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
peady
- Adobe Experience Manager
Current file imports plus interface implementations:import com.day.cq.wcm.api.components.ComponentContext; import com.google.common.base.Charsets; import com.google.common.base.Strings; import com.google.common.hash.HashCode; import com.google.common.hash.Hasher; import com.google.common.hash.Hashing; import lombok.extern.slf4j.Slf4j; import org.apache.commons.io.FilenameUtils; import org.apache.felix.scr.annotations.Activate; import org.apache.felix.scr.annotations.Property; import org.apache.f...

Views

116

Likes

0

Replies

0
Re: SlingFilter doFilter NPE root cause and diagnosis
Avatar
Ignite 3
Level 2
peady
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
peady
- Adobe Experience Manager
Great it doesn't handle attachements. OK, here's the end of the stack trace, hopefully that'll be enough:Caused by: java.lang.NullPointerException at org.apache.sling.i18n.DefaultLocaleResolver.resolveLocale(DefaultLocaleResolver.java:53) at org.apache.sling.i18n.DefaultLocaleResolver.resolveLocale(DefaultLocaleResolver.java:44) at org.apache.sling.i18n.impl.I18NFilter$I18NSlingHttpServletRequest.getLocaleList(I18NFilter.java:360) at org.apache.sling.i18n.impl.I18NFilter$I18NSlingHttpServletRequ...

Views

116

Likes

0

Replies

0
SlingFilter doFilter NPE root cause and diagnosis
Avatar
Ignite 3
Level 2
peady
Level 2

Likes

0 likes

Total Posts

6 posts

Correct reply

1 solution
Top badges earned
Ignite 3
Give Back 3
Give Back
Ignite 1
Validate 1
View profile
peady
- Adobe Experience Manager
Apologies for the slow reply, just back from holidays. Thanks for your willingness to take a look at the package. Unfortunately I can't send it on as there's IP constraints and it's used by a number of customers of our service. I was hoping for a bit of direction on:Where and why the NPE is being thrown from what I can send in the way of stack traces.Where I might add any extra logging orany tips for Filter debugging by way of what we're encountering. I suspect it is another lib/package that is ...

Views

337

Likes

0

Replies

4