-
Bug
-
Resolution: Fixed
-
Blocker
-
-
Blue Ocean 1.4 - beta 3, Blue Ocean 1.5 - beta 3, Blue Ocean 1.6 - beta 2
java.lang.IllegalAccessError: org/apache/http/impl/client/cache/BasicHttpCache at org.apache.http.impl.client.cache.CachingHttpAsyncClient.<init>(CachingHttpAsyncClient.java:173) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:239) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:123) at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.doCreate(DefaultHttpClientFactory.java:68) at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.create(DefaultHttpClientFactory.java:35) at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:63) at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35) at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42) at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:280) at hudson.plugins.jira.JiraSite$DescriptorImpl.doValidate(JiraSite.java:782) at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343) Caused: java.lang.reflect.InvocationTargetException
[WARNING] Error while serving http://localhost:8090/jenkins/descriptorByName/hudson.plugins.jira.JiraSite/validate java.lang.reflect.InvocationTargetException at ... Caused by: java.lang.IllegalAccessError: tried to access class org.apache.http.impl.client.cache.BasicHttpCache from class org.apache.http.impl.client.cache.CachingHttpAsyncClient at org.apache.http.impl.client.cache.CachingHttpAsyncClient.<init>(CachingHttpAsyncClient.java:173) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:239) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:123) at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.doCreate(DefaultHttpClientFactory.java:68) at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.create(DefaultHttpClientFactory.java:35) at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:63) at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35) at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42) at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:303) at hudson.plugins.jira.JiraSite$DescriptorImpl.doValidate(JiraSite.java:805) ... 65 more
- is duplicated by
-
JENKINS-43106 pipeline job hangs forever at checkout GitSCM - after git rev-list (sporadic)
-
- Closed
-
-
JENKINS-49231 jira-plugin 2.5.1 throws exception fails build
-
- Closed
-
-
JENKINS-49975 BasicHttpCache error with JIRA Plugin 2.5.1
-
- Closed
-
-
JENKINS-50140 Integration of JIRA plugin version 2.5.1 with Jenkins
-
- Closed
-
-
JENKINS-49208 Ownership plugin throws an exception if owners are not standard LDAP accounts
-
- Closed
-
-
JENKINS-49214 jira-plugin fails to annotate comment with issue link
-
- Closed
-
-
JENKINS-49346 Basic Http Cache IllegalAccessError
-
- Closed
-
-
JENKINS-46503 Pipeline hanging after updating Jenkinsfile but before starting to build
-
- Closed
-
- is related to
-
JENKINS-49234 TFS polling exception
-
- Closed
-
- relates to
-
JENKINS-50885 BlueOcean should have an optional dependency on JIRA plugin
-
- Resolved
-
-
JENKINS-49231 jira-plugin 2.5.1 throws exception fails build
-
- Closed
-
-
JENKINS-49234 TFS polling exception
-
- Closed
-
-
JENKINS-41827 JenkinsRule mode to use realistic class loading
-
- Resolved
-
-
JENKINS-51058 Upgrade Jira plugin version and httpcomponents-client
-
- Closed
-
- links to
[JENKINS-48357] Binary Compatibility between JIRA Plugin and Apache HttpComponents Client 4.x API
Rank | New: Ranked higher |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "CloudBees Internal CD-262 (Web Link)" [ 18307 ] |
Comment |
[ [~oleg_nenashev] I pulled this from an CloudBees internal support request {noformat} c.a.j.r.c.i.a.AsynchronousHttpClientFactory$MavenUtils#getVersion: Could not find version for maven artifact com.atlassian.jira:jira-rest-java-com.atlassian.jira.rest.client 2017-11-19 05:06:29.723+0000 [id=108901] FINE c.a.j.r.c.i.a.AsynchronousHttpClientFactory$MavenUtils#getVersion: Got the following exception java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:434) at java.util.Properties.load0(Properties.java:353) at java.util.Properties.load(Properties.java:341) at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory$MavenUtils.getVersion(AsynchronousHttpClientFactory.java:185) at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory$RestClientApplicationProperties.getVersion(AsynchronousHttpClientFactory.java:146) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient$DefaultApplicationNameSupplier.get(ApacheAsyncHttpClient.java:531) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient$DefaultApplicationNameSupplier.get(ApacheAsyncHttpClient.java:517) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.getUserAgent(ApacheAsyncHttpClient.java:332) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:208) at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient.<init>(ApacheAsyncHttpClient.java:123) at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.doCreate(DefaultHttpClientFactory.java:68) at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClientFactory.create(DefaultHttpClientFactory.java:35) at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:63) at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35) at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:42) at hudson.plugins.jira.JiraSite.createSession(JiraSite.java:280) at hudson.plugins.jira.JiraSite.getSession(JiraSite.java:255) at io.jenkins.blueocean.service.embedded.jira.JiraSCMListener.onChangeLogParsed(JiraSCMListener.java:38) at hudson.model.listeners.SCMListener.onChangeLogParsed(SCMListener.java:120) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:620) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1728) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:405) {noformat} ] |
Code changed in jenkins
User: James Dumay
Path:
pom.xml
http://jenkins-ci.org/commit/jira-plugin/3380f40a93c161363b9f0c81133725be0abb7e89
Log:
JENKINS-48357Older version of httpclient-cache causing IllegalAccessError