• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • git-plugin
    • None

      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)
      

        

       

          [JENKINS-49346] Basic Http Cache IllegalAccessError

          Tim Schlüter created issue -
          Tim Schlüter made changes -
          Description Original: 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)
           
          New: 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)
            
          Tim Schlüter made changes -
          Description Original: 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)
            
          New: 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}

            

           
          Tim Schlüter made changes -
          Description Original: 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}

            

           
          New: 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}
            

           
          Oleg Nenashev made changes -
          Link New: This issue duplicates JENKINS-48357 [ JENKINS-48357 ]
          Oleg Nenashev made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: