ClassNotFound after push -- OK afterwards?

39 views
Skip to first unread message

Eric Y. Theriault

unread,
Feb 18, 2018, 3:53:16 PM2/18/18
to Jenkins Users
Hi--



For the last two weeks or so, I've been noticing a strange "java.lang.IllegalAccessError: org/apache/http/impl/client/cache/BasicHttpCache" after I push new code to a repository, however, if I re-enqueue the build either manually or scheduling the build, all is good on the second time.

Judging from the stack, I'm guessing it is a JIRA plugin, but I don't believe there is anything configured for it -- and I can't remove it because Blue Ocean depends on them both.

Any insight on working around this?  Thanks!

> git config core.sparsecheckout # timeout=10
> git checkout -f 72097a0d2e8a445f99c466df7d15d13d3964b275
Commit message: "-redacted-."
> git rev-list --no-walk 024583bf6a38e4ee8b0839bd566fc7f10026f805 # timeout=10
FATAL: org/apache/http/impl/client/cache/BasicHttpCache
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:303)
at hudson.plugins.jira.JiraSite.getSession(JiraSite.java:278)
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:590)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1727)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)



Eric

Daniel Beck

unread,
Feb 18, 2018, 4:04:25 PM2/18/18
to jenkins...@googlegroups.com

> On 18. Feb 2018, at 03:47, Eric Y. Theriault <ethe...@gmail.com> wrote:
>
> Any insight on working around this? Thanks!

Known issue: https://issues.jenkins-ci.org/browse/JENKINS-48357

Reply all
Reply to author
Forward
0 new messages