-
Bug
-
Resolution: Fixed
-
High
-
8.0.0, 8.0.1, 8.0.2
-
8
-
13
-
Severity 3 - Minor
-
4
-
Issue Summary
Accessing Version and licensing page return 500 error with NoClassDefFoundError: org/apache/http/impl/auth/BasicScheme
Environment
- JIRA 8.0.0, JIRA 8.0.1 with a forward proxy to access Marketplace.
Steps to Reproduce
- Add a forward proxy in setenv.sh (Linux) or setenv.bat (Windows) following How to Configure an Outbound HTTP and HTTPS Proxy for JIRA applications.
-Dhttp.proxyHost=proxy.example.org -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.example.org -Dhttps.proxyPort=8080 -Dhttp.proxyUser=proxyuser -Dhttp.proxyPassword=proxypassword -Dhttps.proxyUser=proxyuser -Dhttps.proxyPassword=proxypassword -Dhttp.nonProxyHosts=localhost
- Restart JIRA for it to take effect.
- After restart go to ⚙>Application to access Versions and Licensing page.
Expected Results
Versions and Licensing page load properly.
Actual Results
Versions and Licensing page return 500 error with below error:
com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/apache/http/impl/auth/BasicScheme com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/apache/http/impl/auth/BasicScheme at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2048) [guava-26.0-jre.jar:?] at com.google.common.cache.LocalCache.get(LocalCache.java:3952) [guava-26.0-jre.jar:?] at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4871) [guava-26.0-jre.jar:?] at com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:178) [atlassian-cache-memory-4.0.0.jar:?] at com.atlassian.cache.memory.DelegatingCache.get(DelegatingCache.java:163) [atlassian-cache-memory-4.0.0.jar:?] at com.atlassian.upm.application.marketplace.ApplicationMarketplaceQueriesImpl.getPlatformVersionInfo(ApplicationMarketplaceQueriesImpl.java:130) [?:?] at com.atlassian.upm.application.marketplace.ApplicationMarketplaceQueriesImpl.getAvailableAppsInfo(ApplicationMarketplaceQueriesImpl.java:144) [?:?] at com.atlassian.upm.application.servlet.ApplicationManagerHandler.getContext(ApplicationManagerHandler.java:105) [?:?] at com.atlassian.upm.core.servlet.UpmServletHandler.handle(UpmServletHandler.java:91) [?:?] at com.atlassian.upm.core.servlet.UpmServletHandler.handle(UpmServletHandler.java:62) [?:?]
Workaround
The error happen due to the -Dhttps.proxyUser=proxyuser and -Dhttps.proxyPassword=proxypassword setting on the forward proxy. As a workaround, removing the settings will resolve the issue.
-Dhttp.proxyHost=proxy.example.org -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.example.org -Dhttps.proxyPort=8080 -Dhttp.proxyUser=proxyuser -Dhttp.proxyPassword=proxypassword -Dhttp.nonProxyHosts=localhost
- relates to
-
JRASERVER-43143 Webhooks failing to bypass proxy when receiving URL is configured as a nonProxyHost in JVM configuration
- Closed
- mentioned in
-
Page Loading...