Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49346

Basic Http Cache IllegalAccessError

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Sometimes my jobs fail due to the following error. The connection should be fine and the access rights also, because sometimes it works just fine.
       

      Resetting working tree
       > C:\Program Files\Git\cmd\git.exe reset --hard # timeout=10
       > C:\Program Files\Git\cmd\git.exe clean -fdx # timeout=10
       > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git reset --hard # timeout=10
       > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git clean -fdx # 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:1724)
       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
       at hudson.model.ResourceController.execute(ResourceController.java:97)
       at hudson.model.Executor.run(Executor.java:421)
      

        

       

        Attachments

          Issue Links

            Activity

            timsch Tim Schlüter created issue -
            timsch Tim Schlüter made changes -
            Field Original Value New Value
            Description Sometimes my jobs fail due to the following error. The connection should be fine and the access rights also, because sometimes it works just fine.
            Resetting working tree
             > C:\Program Files\Git\cmd\git.exe reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe clean -fdx # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git clean -fdx # 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:1724)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
             at hudson.model.ResourceController.execute(ResourceController.java:97)
             at hudson.model.Executor.run(Executor.java:421)
             
            Sometimes my jobs fail due to the following error. The connection should be fine and the access rights also, because sometimes it works just fine.
             Resetting working tree


             > C:\Program Files\Git\cmd\git.exe reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe clean -fdx # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git clean -fdx # 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:1724)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
             at hudson.model.ResourceController.execute(ResourceController.java:97)
             at hudson.model.Executor.run(Executor.java:421)
              
            timsch Tim Schlüter made changes -
            Description Sometimes my jobs fail due to the following error. The connection should be fine and the access rights also, because sometimes it works just fine.
             Resetting working tree


             > C:\Program Files\Git\cmd\git.exe reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe clean -fdx # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git clean -fdx # 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:1724)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
             at hudson.model.ResourceController.execute(ResourceController.java:97)
             at hudson.model.Executor.run(Executor.java:421)
              
            Sometimes my jobs fail due to the following error. The connection should be fine and the access rights also, because sometimes it works just fine.
             Resetting working tree
            {code:java}
            > C:\Program Files\Git\cmd\git.exe reset --hard # timeout=10
            > C:\Program Files\Git\cmd\git.exe clean -fdx # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git clean -fdx # 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:1724)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
             at hudson.model.ResourceController.execute(ResourceController.java:97)
             at hudson.model.Executor.run(Executor.java:421)
            {code}

              

             
            timsch Tim Schlüter made changes -
            Description Sometimes my jobs fail due to the following error. The connection should be fine and the access rights also, because sometimes it works just fine.
             Resetting working tree
            {code:java}
            > C:\Program Files\Git\cmd\git.exe reset --hard # timeout=10
            > C:\Program Files\Git\cmd\git.exe clean -fdx # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git clean -fdx # 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:1724)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
             at hudson.model.ResourceController.execute(ResourceController.java:97)
             at hudson.model.Executor.run(Executor.java:421)
            {code}

              

             
            Sometimes my jobs fail due to the following error. The connection should be fine and the access rights also, because sometimes it works just fine.
             
            {code:java}
            Resetting working tree
             > C:\Program Files\Git\cmd\git.exe reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe clean -fdx # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git reset --hard # timeout=10
             > C:\Program Files\Git\cmd\git.exe submodule foreach --recursive git clean -fdx # 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:1724)
             at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
             at hudson.model.ResourceController.execute(ResourceController.java:97)
             at hudson.model.Executor.run(Executor.java:421)
            {code}
              

             
            Hide
            oleg_nenashev Oleg Nenashev added a comment -
            Show
            oleg_nenashev Oleg Nenashev added a comment - It is JENKINS-48357
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue duplicates JENKINS-48357 [ JENKINS-48357 ]
            oleg_nenashev Oleg Nenashev made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ]
            Hide
            timsch Tim Schlüter added a comment -

            Oleg Nenashev Thanks for this connection. I thought it was a git problem.

            Show
            timsch Tim Schlüter added a comment - Oleg Nenashev Thanks for this connection. I thought it was a git problem.
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                timsch Tim Schlüter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: