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

Binary Compatibility between JIRA Plugin and Apache HttpComponents Client 4.x API

    • 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
      

          [JENKINS-48357] Binary Compatibility between JIRA Plugin and Apache HttpComponents Client 4.x API

          Code changed in jenkins
          User: James Dumay
          Path:
          pom.xml
          http://jenkins-ci.org/commit/jira-plugin/3380f40a93c161363b9f0c81133725be0abb7e89
          Log:
          JENKINS-48357 Older version of httpclient-cache causing IllegalAccessError

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: James Dumay Path: pom.xml http://jenkins-ci.org/commit/jira-plugin/3380f40a93c161363b9f0c81133725be0abb7e89 Log: JENKINS-48357 Older version of httpclient-cache causing IllegalAccessError

          Code changed in jenkins
          User: Radek Antoniuk
          Path:
          pom.xml
          http://jenkins-ci.org/commit/jira-plugin/51932a02f90becda9c0404ca40df035b42eccc91
          Log:
          Merge pull request #133 from i386/bug/JENKINS-48357

          JENKINS-48357 Older version of httpclient-cache causing IllegalAccessError and use httpclient
          Switch to using org.jenkins-ci.plugins.apache-httpcomponents-client-4-api plugin.

          Compare: https://github.com/jenkinsci/jira-plugin/compare/4c7dcde762b5...51932a02f90b

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Radek Antoniuk Path: pom.xml http://jenkins-ci.org/commit/jira-plugin/51932a02f90becda9c0404ca40df035b42eccc91 Log: Merge pull request #133 from i386/bug/ JENKINS-48357 JENKINS-48357 Older version of httpclient-cache causing IllegalAccessError and use httpclient Switch to using org.jenkins-ci.plugins.apache-httpcomponents-client-4-api plugin. Compare: https://github.com/jenkinsci/jira-plugin/compare/4c7dcde762b5...51932a02f90b

          After reverting PR 133 with PR 137 testing with hpi Jenkins 2.7.3 I'm still getting:

          [WARNING] Error while serving http://localhost:8090/jenkins/descriptorByName/hudson.plugins.jira.JiraSite/validate
          java.lang.reflect.InvocationTargetException
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.lang.reflect.Method.invoke(Method.java:498)
          	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)
          	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)
          	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100)
          	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
          	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
          	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
          	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
          	at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233)
          	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
          	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
          	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
          	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
          	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
          	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
          	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
          	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
          	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
          	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
          	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          	at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
          	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
          	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
          	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
          	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
          	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
          	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
          	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
          	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
          	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
          	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
          	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
          	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
          	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
          	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
          	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219)
          	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
          	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
          	at org.eclipse.jetty.server.Server.handle(Server.java:564)
          	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
          	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
          	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
          	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
          	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
          	at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
          	at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
          	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
          	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
          	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
          	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
          	at java.lang.Thread.run(Thread.java:745)
          Caused by: 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$DescriptorImpl.doValidate(JiraSite.java:805)
          	... 65 more
          

          I am not getting the error when I remove:

              <dependency>
                <groupId>org.jenkins-ci.plugins</groupId>
                <artifactId>apache-httpcomponents-client-4-api</artifactId>
                <version>4.5.3-2.0</version>
              </dependency>
          

          So, there's something fishy here, as I understand jamesdumay you're getting this without this dependency? Can you try with current master?
          cc oleg_nenashev

          Radek Antoniuk added a comment - After reverting PR 133 with PR 137 testing with hpi Jenkins 2.7.3 I'm still getting: [WARNING] Error while serving http: //localhost:8090/jenkins/descriptorByName/hudson.plugins.jira.JiraSite/validate java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:126) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:564) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128) at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) at java.lang. Thread .run( Thread .java:745) Caused by: 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$DescriptorImpl.doValidate(JiraSite.java:805) ... 65 more I am not getting the error when I remove: <dependency> <groupId>org.jenkins-ci.plugins</groupId> <artifactId>apache-httpcomponents-client-4-api</artifactId> <version>4.5.3-2.0</version> </dependency> So, there's something fishy here, as I understand jamesdumay you're getting this without this dependency? Can you try with current master? cc oleg_nenashev

          Oleg Nenashev added a comment -

          Having a full stacktrace would be useful

          Oleg Nenashev added a comment - Having a full stacktrace would be useful

          Zhenlei Huang added a comment - - edited

          oleg_nenashev It sounds like class loading conflict. 

          MAVEN_DEBUG_OPTS="-verbose:class" mvn hpi:run -Denforcer.skip
          

          I'm getting this.

          [Loaded org.apache.http.impl.client.cache.CacheConfig from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar]
          [Loaded org.apache.http.impl.client.cache.CacheConfig$Builder from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar]
          ...
          [Loaded org.apache.http.impl.client.cache.CachingHttpAsyncClient from file:/Users/zlei/.m2/repository/com/atlassian/httpclient/atlassian-httpclient-plugin/0.23.0/atlassian-httpclient-plugin-0.23.0.jar]
          [Loaded org.apache.http.impl.client.cache.HttpCache from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar]
          [Loaded org.apache.http.client.cache.ResourceFactory from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar]
          [Loaded org.apache.http.impl.client.cache.BasicHttpCache from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar]
          

          The package 'org.apache.http.impl.client.cache' is loaded from two jars 'plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar', and '.m2/repository/com/atlassian/httpclient/atlassian-httpclient-plugin/0.23.0/atlassian-httpclient-plugin-0.23.0.jar'.

          I'm not sure whether the two jars are loaded from different class loaders or not. Hope this helps

          Zhenlei Huang added a comment - - edited oleg_nenashev It sounds like class loading conflict.  MAVEN_DEBUG_OPTS="-verbose:class" mvn hpi:run -Denforcer.skip I'm getting this. [Loaded org.apache.http.impl.client.cache.CacheConfig from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar] [Loaded org.apache.http.impl.client.cache.CacheConfig$Builder from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar] ... [Loaded org.apache.http.impl.client.cache.CachingHttpAsyncClient from file:/Users/zlei/.m2/repository/com/atlassian/httpclient/atlassian-httpclient-plugin/0.23.0/atlassian-httpclient-plugin-0.23.0.jar] [Loaded org.apache.http.impl.client.cache.HttpCache from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar] [Loaded org.apache.http.client.cache.ResourceFactory from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar] [Loaded org.apache.http.impl.client.cache.BasicHttpCache from file:/Users/zlei/Downloads/jira-plugin/work/plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar] The package 'org.apache.http.impl.client.cache' is loaded from two jars 'plugins/apache-httpcomponents-client-4-api/WEB-INF/lib/httpclient-cache-4.5.3.jar', and '.m2/repository/com/atlassian/httpclient/atlassian-httpclient-plugin/0.23.0/atlassian-httpclient-plugin-0.23.0.jar'. I'm not sure whether the two jars are loaded from different class loaders or not. Hope this helps

          James Dumay added a comment -

          warden its not happening directly on my system but its happening on one of my customers.

          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.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)
          

          Plugins

          ace-editor:1.1:not-pinned
          allure-jenkins-plugin:2.15:not-pinned
          analysis-core:1.86:not-pinned
          AnchorChain:1.0:not-pinned
          android-emulator:2.15:not-pinned
          ansible:0.6.2:not-pinned
          ansicolor:0.5.0:not-pinned
          ant:1.5:not-pinned
          antisamy-markup-formatter:1.5:not-pinned
          apache-httpcomponents-client-4-api:4.5.3-2.0:not-pinned
          artifactory:2.9.1:not-pinned
          async-http-client:1.7.24.1:not-pinned
          audit-trail:2.2:not-pinned
          authentication-tokens:1.3:not-pinned
          aws-beanstalk-publisher-plugin:1.7.2:not-pinned
          aws-credentials:1.16:not-pinned
          aws-java-sdk:1.11.226:not-pinned
          aws-lambda:0.5.10:not-pinned
          blueocean:1.3.1:not-pinned
          blueocean-autofavorite:1.0.0:not-pinned
          blueocean-bitbucket-pipeline:1.3.1:not-pinned
          blueocean-commons:1.3.1:not-pinned
          blueocean-config:1.3.1:not-pinned
          blueocean-dashboard:1.3.1:not-pinned
          blueocean-display-url:2.1.1:not-pinned
          blueocean-events:1.3.1:not-pinned
          blueocean-git-pipeline:1.3.1:not-pinned
          blueocean-github-pipeline:1.3.1:not-pinned
          blueocean-i18n:1.3.1:not-pinned
          blueocean-jira:1.3.1:not-pinned
          blueocean-jwt:1.3.1:not-pinned
          blueocean-personalization:1.3.1:not-pinned
          blueocean-pipeline-api-impl:1.3.1:not-pinned
          blueocean-pipeline-editor:1.3.1:not-pinned
          blueocean-pipeline-scm-api:1.3.1:not-pinned
          blueocean-rest:1.3.1:not-pinned
          blueocean-rest-impl:1.3.1:not-pinned
          blueocean-web:1.3.1:not-pinned
          bouncycastle-api:2.16.1:not-pinned
          branch-api:2.0.15:not-pinned
          build-metrics:1.3:not-pinned
          build-monitor-plugin:1.11+build.201701152243:not-pinned
          build-name-setter:1.6.5:not-pinned
          build-pipeline-plugin:1.5.7.1:not-pinned
          build-timeout:1.18:not-pinned
          build-user-vars-plugin:1.5:not-pinned
          build-with-parameters:1.3:not-pinned
          built-on-column:1.1:not-pinned
          checkstyle:3.48:not-pinned
          claim:2.9:not-pinned
          clone-workspace-scm:0.6:not-pinned
          cloudbees-aborted-builds:1.9:not-pinned
          cloudbees-assurance:2.46.2.2:not-pinned
          cloudbees-aws-cli:1.5.7:not-pinned
          cloudbees-bitbucket-branch-source:2.2.5:not-pinned
          cloudbees-even-scheduler:3.7:not-pinned
          cloudbees-folder:6.1.2:not-pinned
          cloudbees-folders-plus:3.1:not-pinned
          cloudbees-jsync-archiver:5.5:not-pinned
          cloudbees-label-throttling-plugin:3.4:not-pinned
          cloudbees-license:9.11:not-pinned
          cloudbees-long-running-build:1.9:not-pinned
          cloudbees-monitoring:2.5:not-pinned
          cloudbees-nodes-plus:1.14:not-pinned
          cloudbees-plugin-usage:1.6:not-pinned
          cloudbees-quiet-start:1.2:not-pinned
          cloudbees-request-filter:1.2:not-pinned
          cloudbees-secure-copy:3.9:not-pinned
          cloudbees-ssh-slaves:1.7:not-pinned
          cloudbees-support:3.9:not-pinned
          cloudbees-template:4.29:not-pinned
          cloudbees-workflow-template:2.6:not-pinned
          cloudbees-workflow-ui:2.1:not-pinned
          clover:4.7.1:not-pinned
          cobertura:1.10:not-pinned
          conditional-buildstep:1.3.5:not-pinned
          config-file-provider:2.15.7:not-pinned
          configurationslicing:1.45:not-pinned
          copyartifact:1.38.1:not-pinned
          coverity:1.9.1:not-pinned
          credentials:2.1.16:not-pinned
          credentials-binding:1.11:not-pinned
          crowd2:1.8:not-pinned
          cucumber-testresult-plugin:0.9.7:not-pinned
          custom-tools-plugin:0.5:not-pinned
          cvs:2.13:not-pinned
          dashboard-view:2.9.10:not-pinned
          delivery-pipeline-plugin:1.0.5:not-pinned
          deployed-on-column:1.7:not-pinned
          deployer-framework:1.1:not-pinned
          display-url-api:2.1.0:not-pinned
          docker-asg-plugin:1.0.22:not-pinned
          docker-build-publish:1.3.2:not-pinned
          docker-build-step:1.42:not-pinned
          docker-commons:1.6:not-pinned
          docker-custom-build-environment:1.6.5:not-pinned
          docker-traceability:1.2:not-pinned
          docker-workflow:1.11:not-pinned
          dockerhub-notification:2.2.0:not-pinned
          durable-task:1.15:not-pinned
          ec2:2.68:not-pinned
          email-ext:2.57.2:not-pinned
          emailext-template:1.0:not-pinned
          envinject:2.0:not-pinned
          extended-choice-parameter:0.76:not-pinned
          extensible-choice-parameter:1.4.0:not-pinned
          external-monitor-job:1.7:not-pinned
          ez-templates:1.2.5:not-pinned
          favorite:2.3.0:not-pinned
          findbugs:4.70:not-pinned
          git:3.6.4:not-pinned
          git-client:2.6.0:not-pinned
          git-parameter:0.8.0:not-pinned
          git-server:1.7:not-pinned
          git-validated-merge:3.20:not-pinned
          github:1.26.2:not-pinned
          github-api:1.90:not-pinned
          github-branch-source:2.2.6:not-pinned
          global-build-stats:1.4:not-pinned
          global-post-script:1.1.3:not-pinned
          google-oauth-plugin:0.5:not-pinned
          google-play-android-publisher:1.5:not-pinned
          gradle:1.26:not-pinned
          groovy:2.0:not-pinned
          groovy-postbuild:2.3.1:not-pinned
          handlebars:1.1.1:not-pinned
          hidden-parameter:0.0.4:not-pinned
          htmlpublisher:1.14:not-pinned
          http_request:1.8.19:not-pinned
          icon-shim:2.0.3:not-pinned
          infradna-backup:3.34:not-pinned
          ivy:1.27.1:not-pinned
          jackson2-api:2.7.3:not-pinned
          jacoco:2.2.1:not-pinned
          javadoc:1.4:not-pinned
          jdepend:1.2.4:not-pinned
          jenkins-cloudformation-plugin:1.2:not-pinned
          jenkins-multijob-plugin:1.24:not-pinned
          jenkinsci-appspider-plugin:1.0.8:not-pinned
          jira:2.4.2:not-pinned
          job-dsl:1.63:not-pinned
          jobConfigHistory:2.16:not-pinned
          jobgenerator:1.22:not-pinned
          join:1.21:not-pinned
          jquery:1.11.2-0:not-pinned
          jquery-detached:1.2.1:not-pinned
          jquery-ui:1.0.2:not-pinned
          jsch:0.1.54.1:not-pinned
          junit:1.21:not-pinned
          label-linked-jobs:5.1.2:not-pinned
          ldap:1.15:not-pinned
          lockable-resources:2.0:not-pinned
          m2release:0.14.0:not-pinned
          mailer:1.20:not-pinned
          mapdb-api:1.0.9.0:not-pinned
          mask-passwords:2.10.1:not-pinned
          matrix-auth:1.7:not-pinned
          matrix-project:1.8:not-pinned
          maven-deployment-linker:1.5.1:not-pinned
          maven-plugin:2.14:not-pinned
          mercurial:2.2:not-pinned
          metrics:3.1.2.9:not-pinned
          metrics-graphite:3.0.0:not-pinned
          momentjs:1.1.1:not-pinned
          monitoring:1.65.1:not-pinned
          multiple-scms:0.6:not-pinned
          naginator:1.17.2:not-pinned
          nectar-license:8.6:not-pinned
          nectar-rbac:5.16:not-pinned
          nested-view:1.14:not-pinned
          next-build-number:1.4:not-pinned
          node-iterator-api:1.5:not-pinned
          nodejs:0.2.2:not-pinned
          nodelabelparameter:1.7.2:not-pinned
          nunit:0.20:not-pinned
          oauth-credentials:0.3:not-pinned
          operations-center-agent:2.46.0.3:not-pinned
          operations-center-analytics-config:2.46.0.2:not-pinned
          operations-center-analytics-reporter:2.46.0.2:not-pinned
          operations-center-client:2.46.0.4:not-pinned
          operations-center-cloud:2.46.0.2:not-pinned
          operations-center-context:2.46.0.6:not-pinned
          operations-center-openid-cse:1.8.110:not-pinned
          p4:1.7.5:not-pinned
          pam-auth:1.3:not-pinned
          parameter-separator:1.0:not-pinned
          Parameterized-Remote-Trigger:2.2.2:not-pinned
          parameterized-trigger:2.35.2:not-pinned
          perforce:1.3.36:not-pinned
          performance:3.0:not-pinned
          persistent-parameter:1.1:not-pinned
          pipeline-aggregator-view:1.7:not-pinned
          pipeline-aws:1.16:not-pinned
          pipeline-build-step:2.5.1:not-pinned
          pipeline-graph-analysis:1.5:not-pinned
          pipeline-input-step:2.8:not-pinned
          pipeline-maven:2.2.0:not-pinned
          pipeline-milestone-step:1.3.1:not-pinned
          pipeline-model-api:1.2.3:not-pinned
          pipeline-model-declarative-agent:1.1.1:not-pinned
          pipeline-model-definition:1.2.3:not-pinned
          pipeline-model-extensions:1.2.3:not-pinned
          pipeline-multibranch-defaults:1.1:not-pinned
          pipeline-npm:0.9.1:not-pinned
          pipeline-rest-api:2.6:not-pinned
          pipeline-stage-step:2.2:not-pinned
          pipeline-stage-tags-metadata:1.2.3:not-pinned
          pipeline-stage-view:2.6:not-pinned
          pipeline-utility-steps:1.3.0:not-pinned
          plain-credentials:1.4:not-pinned
          pmd:3.47:not-pinned
          port-allocator:1.8:not-pinned
          post-completed-build-dynamodb-result:1.0.3:not-pinned
          PrioritySorter:3.5.0:not-pinned
          project-stats-plugin:0.4:not-pinned
          promoted-builds:2.28.1:not-pinned
          pubsub-light:1.12:not-pinned
          quality-gates:2.5:not-pinned
          rebuild:1.25:not-pinned
          resource-disposer:0.6:not-pinned
          run-condition:1.0:not-pinned
          s3:0.10.12:not-pinned
          scm-api:2.2.5:not-pinned
          script-security:1.35:not-pinned
          seleniumhq:0.4:not-pinned
          sidebar-link:1.7:not-pinned
          simple-parameterized-builds-report:1.5:not-pinned
          skip-plugin:4.0:not-pinned
          slack:2.2:not-pinned
          sonar:2.6.1:not-pinned
          sse-gateway:1.15:not-pinned
          ssh-agent:1.15:not-pinned
          ssh-credentials:1.13:not-pinned
          ssh-slaves:1.17:not-pinned
          stash-pullrequest-builder:1.7.0:not-pinned
          stashNotifier:1.11.6:not-pinned
          structs:1.10:not-pinned
          subversion:2.7.2:not-pinned
          support-core:2.41:not-pinned
          template-project:1.5.2:not-pinned
          testng-plugin:1.14:not-pinned
          timestamper:1.8.8:not-pinned
          token-macro:2.1:not-pinned
          unique-id:2.1.3:not-pinned
          validating-string-parameter:2.3:not-pinned
          variant:1.1:not-pinned
          view-job-filters:1.27:not-pinned
          windows-slaves:1.3.1:not-pinned
          workflow-aggregator:2.5:not-pinned
          workflow-api:2.23.1:not-pinned
          workflow-basic-steps:2.4:not-pinned
          workflow-cps:2.41:not-pinned
          workflow-cps-checkpoint:2.4:not-pinned
          workflow-cps-global-lib:2.8:not-pinned
          workflow-durable-task-step:2.16:not-pinned
          workflow-job:2.11.2:not-pinned
          workflow-multibranch:2.16:not-pinned
          workflow-remote-loader:1.4:not-pinned
          workflow-scm-step:2.4:not-pinned
          workflow-step-api:2.13:not-pinned
          workflow-support:2.14:not-pinned
          ws-cleanup:0.33:not-pinned
          xunit:1.102:not-pinned
          xvfb:1.1.3:not-pinned
          zentimestamp:4.2:not-pinned
          

          James Dumay added a comment - warden its not happening directly on my system but its happening on one of my customers. 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.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) Plugins ace-editor:1.1:not-pinned allure-jenkins-plugin:2.15:not-pinned analysis-core:1.86:not-pinned AnchorChain:1.0:not-pinned android-emulator:2.15:not-pinned ansible:0.6.2:not-pinned ansicolor:0.5.0:not-pinned ant:1.5:not-pinned antisamy-markup-formatter:1.5:not-pinned apache-httpcomponents-client-4-api:4.5.3-2.0:not-pinned artifactory:2.9.1:not-pinned async-http-client:1.7.24.1:not-pinned audit-trail:2.2:not-pinned authentication-tokens:1.3:not-pinned aws-beanstalk-publisher-plugin:1.7.2:not-pinned aws-credentials:1.16:not-pinned aws-java-sdk:1.11.226:not-pinned aws-lambda:0.5.10:not-pinned blueocean:1.3.1:not-pinned blueocean-autofavorite:1.0.0:not-pinned blueocean-bitbucket-pipeline:1.3.1:not-pinned blueocean-commons:1.3.1:not-pinned blueocean-config:1.3.1:not-pinned blueocean-dashboard:1.3.1:not-pinned blueocean-display-url:2.1.1:not-pinned blueocean-events:1.3.1:not-pinned blueocean-git-pipeline:1.3.1:not-pinned blueocean-github-pipeline:1.3.1:not-pinned blueocean-i18n:1.3.1:not-pinned blueocean-jira:1.3.1:not-pinned blueocean-jwt:1.3.1:not-pinned blueocean-personalization:1.3.1:not-pinned blueocean-pipeline-api-impl:1.3.1:not-pinned blueocean-pipeline-editor:1.3.1:not-pinned blueocean-pipeline-scm-api:1.3.1:not-pinned blueocean-rest:1.3.1:not-pinned blueocean-rest-impl:1.3.1:not-pinned blueocean-web:1.3.1:not-pinned bouncycastle-api:2.16.1:not-pinned branch-api:2.0.15:not-pinned build-metrics:1.3:not-pinned build-monitor-plugin:1.11+build.201701152243:not-pinned build-name-setter:1.6.5:not-pinned build-pipeline-plugin:1.5.7.1:not-pinned build-timeout:1.18:not-pinned build-user-vars-plugin:1.5:not-pinned build-with-parameters:1.3:not-pinned built-on-column:1.1:not-pinned checkstyle:3.48:not-pinned claim:2.9:not-pinned clone-workspace-scm:0.6:not-pinned cloudbees-aborted-builds:1.9:not-pinned cloudbees-assurance:2.46.2.2:not-pinned cloudbees-aws-cli:1.5.7:not-pinned cloudbees-bitbucket-branch-source:2.2.5:not-pinned cloudbees-even-scheduler:3.7:not-pinned cloudbees-folder:6.1.2:not-pinned cloudbees-folders-plus:3.1:not-pinned cloudbees-jsync-archiver:5.5:not-pinned cloudbees-label-throttling-plugin:3.4:not-pinned cloudbees-license:9.11:not-pinned cloudbees-long-running-build:1.9:not-pinned cloudbees-monitoring:2.5:not-pinned cloudbees-nodes-plus:1.14:not-pinned cloudbees-plugin-usage:1.6:not-pinned cloudbees-quiet-start:1.2:not-pinned cloudbees-request-filter:1.2:not-pinned cloudbees-secure-copy:3.9:not-pinned cloudbees-ssh-slaves:1.7:not-pinned cloudbees-support:3.9:not-pinned cloudbees-template:4.29:not-pinned cloudbees-workflow-template:2.6:not-pinned cloudbees-workflow-ui:2.1:not-pinned clover:4.7.1:not-pinned cobertura:1.10:not-pinned conditional-buildstep:1.3.5:not-pinned config-file-provider:2.15.7:not-pinned configurationslicing:1.45:not-pinned copyartifact:1.38.1:not-pinned coverity:1.9.1:not-pinned credentials:2.1.16:not-pinned credentials-binding:1.11:not-pinned crowd2:1.8:not-pinned cucumber-testresult-plugin:0.9.7:not-pinned custom-tools-plugin:0.5:not-pinned cvs:2.13:not-pinned dashboard-view:2.9.10:not-pinned delivery-pipeline-plugin:1.0.5:not-pinned deployed-on-column:1.7:not-pinned deployer-framework:1.1:not-pinned display-url-api:2.1.0:not-pinned docker-asg-plugin:1.0.22:not-pinned docker-build-publish:1.3.2:not-pinned docker-build-step:1.42:not-pinned docker-commons:1.6:not-pinned docker-custom-build-environment:1.6.5:not-pinned docker-traceability:1.2:not-pinned docker-workflow:1.11:not-pinned dockerhub-notification:2.2.0:not-pinned durable-task:1.15:not-pinned ec2:2.68:not-pinned email-ext:2.57.2:not-pinned emailext-template:1.0:not-pinned envinject:2.0:not-pinned extended-choice-parameter:0.76:not-pinned extensible-choice-parameter:1.4.0:not-pinned external-monitor-job:1.7:not-pinned ez-templates:1.2.5:not-pinned favorite:2.3.0:not-pinned findbugs:4.70:not-pinned git:3.6.4:not-pinned git-client:2.6.0:not-pinned git-parameter:0.8.0:not-pinned git-server:1.7:not-pinned git-validated-merge:3.20:not-pinned github:1.26.2:not-pinned github-api:1.90:not-pinned github-branch-source:2.2.6:not-pinned global-build-stats:1.4:not-pinned global-post-script:1.1.3:not-pinned google-oauth-plugin:0.5:not-pinned google-play-android-publisher:1.5:not-pinned gradle:1.26:not-pinned groovy:2.0:not-pinned groovy-postbuild:2.3.1:not-pinned handlebars:1.1.1:not-pinned hidden-parameter:0.0.4:not-pinned htmlpublisher:1.14:not-pinned http_request:1.8.19:not-pinned icon-shim:2.0.3:not-pinned infradna-backup:3.34:not-pinned ivy:1.27.1:not-pinned jackson2-api:2.7.3:not-pinned jacoco:2.2.1:not-pinned javadoc:1.4:not-pinned jdepend:1.2.4:not-pinned jenkins-cloudformation-plugin:1.2:not-pinned jenkins-multijob-plugin:1.24:not-pinned jenkinsci-appspider-plugin:1.0.8:not-pinned jira:2.4.2:not-pinned job-dsl:1.63:not-pinned jobConfigHistory:2.16:not-pinned jobgenerator:1.22:not-pinned join:1.21:not-pinned jquery:1.11.2-0:not-pinned jquery-detached:1.2.1:not-pinned jquery-ui:1.0.2:not-pinned jsch:0.1.54.1:not-pinned junit:1.21:not-pinned label-linked-jobs:5.1.2:not-pinned ldap:1.15:not-pinned lockable-resources:2.0:not-pinned m2release:0.14.0:not-pinned mailer:1.20:not-pinned mapdb-api:1.0.9.0:not-pinned mask-passwords:2.10.1:not-pinned matrix-auth:1.7:not-pinned matrix-project:1.8:not-pinned maven-deployment-linker:1.5.1:not-pinned maven-plugin:2.14:not-pinned mercurial:2.2:not-pinned metrics:3.1.2.9:not-pinned metrics-graphite:3.0.0:not-pinned momentjs:1.1.1:not-pinned monitoring:1.65.1:not-pinned multiple-scms:0.6:not-pinned naginator:1.17.2:not-pinned nectar-license:8.6:not-pinned nectar-rbac:5.16:not-pinned nested-view:1.14:not-pinned next-build-number:1.4:not-pinned node-iterator-api:1.5:not-pinned nodejs:0.2.2:not-pinned nodelabelparameter:1.7.2:not-pinned nunit:0.20:not-pinned oauth-credentials:0.3:not-pinned operations-center-agent:2.46.0.3:not-pinned operations-center-analytics-config:2.46.0.2:not-pinned operations-center-analytics-reporter:2.46.0.2:not-pinned operations-center-client:2.46.0.4:not-pinned operations-center-cloud:2.46.0.2:not-pinned operations-center-context:2.46.0.6:not-pinned operations-center-openid-cse:1.8.110:not-pinned p4:1.7.5:not-pinned pam-auth:1.3:not-pinned parameter-separator:1.0:not-pinned Parameterized-Remote-Trigger:2.2.2:not-pinned parameterized-trigger:2.35.2:not-pinned perforce:1.3.36:not-pinned performance:3.0:not-pinned persistent-parameter:1.1:not-pinned pipeline-aggregator-view:1.7:not-pinned pipeline-aws:1.16:not-pinned pipeline-build-step:2.5.1:not-pinned pipeline-graph-analysis:1.5:not-pinned pipeline-input-step:2.8:not-pinned pipeline-maven:2.2.0:not-pinned pipeline-milestone-step:1.3.1:not-pinned pipeline-model-api:1.2.3:not-pinned pipeline-model-declarative-agent:1.1.1:not-pinned pipeline-model-definition:1.2.3:not-pinned pipeline-model-extensions:1.2.3:not-pinned pipeline-multibranch-defaults:1.1:not-pinned pipeline-npm:0.9.1:not-pinned pipeline-rest-api:2.6:not-pinned pipeline-stage-step:2.2:not-pinned pipeline-stage-tags-metadata:1.2.3:not-pinned pipeline-stage-view:2.6:not-pinned pipeline-utility-steps:1.3.0:not-pinned plain-credentials:1.4:not-pinned pmd:3.47:not-pinned port-allocator:1.8:not-pinned post-completed-build-dynamodb-result:1.0.3:not-pinned PrioritySorter:3.5.0:not-pinned project-stats-plugin:0.4:not-pinned promoted-builds:2.28.1:not-pinned pubsub-light:1.12:not-pinned quality-gates:2.5:not-pinned rebuild:1.25:not-pinned resource-disposer:0.6:not-pinned run-condition:1.0:not-pinned s3:0.10.12:not-pinned scm-api:2.2.5:not-pinned script-security:1.35:not-pinned seleniumhq:0.4:not-pinned sidebar-link:1.7:not-pinned simple-parameterized-builds-report:1.5:not-pinned skip-plugin:4.0:not-pinned slack:2.2:not-pinned sonar:2.6.1:not-pinned sse-gateway:1.15:not-pinned ssh-agent:1.15:not-pinned ssh-credentials:1.13:not-pinned ssh-slaves:1.17:not-pinned stash-pullrequest-builder:1.7.0:not-pinned stashNotifier:1.11.6:not-pinned structs:1.10:not-pinned subversion:2.7.2:not-pinned support-core:2.41:not-pinned template-project:1.5.2:not-pinned testng-plugin:1.14:not-pinned timestamper:1.8.8:not-pinned token-macro:2.1:not-pinned unique-id:2.1.3:not-pinned validating-string-parameter:2.3:not-pinned variant:1.1:not-pinned view-job-filters:1.27:not-pinned windows-slaves:1.3.1:not-pinned workflow-aggregator:2.5:not-pinned workflow-api:2.23.1:not-pinned workflow-basic-steps:2.4:not-pinned workflow-cps:2.41:not-pinned workflow-cps-checkpoint:2.4:not-pinned workflow-cps-global-lib:2.8:not-pinned workflow-durable-task-step:2.16:not-pinned workflow-job:2.11.2:not-pinned workflow-multibranch:2.16:not-pinned workflow-remote-loader:1.4:not-pinned workflow-scm-step:2.4:not-pinned workflow-step-api:2.13:not-pinned workflow-support:2.14:not-pinned ws-cleanup:0.33:not-pinned xunit:1.102:not-pinned xvfb:1.1.3:not-pinned zentimestamp:4.2:not-pinned

          Radek Antoniuk added a comment - - edited

          oleg_nenashev full trace log.gz attached, this is reproducible every time on at master build with:
          mvn hpi:run -Djetty.port=8090 -Djenkins.version=2.7.3
          (i'm running in docker but that shouldn't matter)

          btw - Active sprint: Blue Ocean 1.4 - beta 3 ends 2017-11-27 - still in 2017 ?

          Radek Antoniuk added a comment - - edited oleg_nenashev full trace log.gz attached, this is reproducible every time on at master build with: mvn hpi:run -Djetty.port=8090 -Djenkins.version=2.7.3 (i'm running in docker but that shouldn't matter) btw - Active sprint:  Blue Ocean 1.4 - beta 3  ends 2017-11-27 - still in 2017 ?

          James Dumay added a comment -

          warden I haven't switched the sprints over yet

          James Dumay added a comment - warden I haven't switched the sprints over yet

          Oleg Nenashev added a comment -

          got snowed under the core regressions, I may be unable to respond this week. Please ping me on Monday if I forget and nobody else picks it up

          Oleg Nenashev added a comment - got snowed under the core regressions, I may be unable to respond this week. Please ping me on Monday if I forget and nobody else picks it up

          oleg_nenashev when can we accept this to be resolved? 

          Mallappa pujari added a comment - oleg_nenashev when can we accept this to be resolved? 

          Oleg Nenashev added a comment -

          I have asked to ping me for a reason Right now I am dealing with JEP-200 fallout. No ETA from my side. Anybody else can handle it

          Oleg Nenashev added a comment - I have asked to ping me for a reason Right now I am dealing with JEP-200 fallout. No ETA from my side. Anybody else can handle it

          Oleg Nenashev added a comment -

          Apparently warden has released the master branch. Now we have the wider binary compatibility issue in the wild. E.g. JENKINS-49208.

          I will see whether we can fix it without using a pluginFirstClassLoader (which is not reliable)

          Oleg Nenashev added a comment - Apparently warden has released the master branch. Now we have the wider binary compatibility issue in the wild. E.g. JENKINS-49208 . I will see whether we can fix it without using a pluginFirstClassLoader (which is not reliable)

          Zhenlei Huang added a comment - - edited

          Hi oleg_nenashev, I've finally traced the root cause.

          jira-rest-java-client-core need by Jira-plugin depends on httpcomponents-asyncclient which transitively depends on httpclient-cache. The class org.apache.http.impl.client.cache.CachingHttpAsyncClient tries to instantiate package visible class org.apache.http.impl.client.cache.BasicHttpCache. It is OK in normal case, but fails if CachingHttpAsyncClient and BasicHttpCache are loaded from different classloaders, becoming two different run-time packages, causing throwing java.lang.IllegalAccessError.

          We unfortunately encounter this abnormal case, that Jira-plugin depends on httpcomponents-asyncclient loaded by plugin classloader and httpclient-cache loaded by another(which loads apache-httpcomponents-client-4-api).

          So, it comes the solution. The simplest one, remove dependency of apache-httpcomponents-client-4-api, as warden mentioned above. Or we can add httpcomponents-asyncclient dependency into apache-httpcomponents-client-4-api.

           refer:

          1. https://jenkins.io/doc/developer/plugin-development/dependencies-and-class-loading/
          2. https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-5.html#jvms-5.3

          Zhenlei Huang added a comment - - edited Hi oleg_nenashev , I've finally traced the root cause. jira-rest-java-client-core need by Jira-plugin depends on httpcomponents-asyncclient which transitively depends on httpclient-cache. The class org.apache.http.impl.client.cache.CachingHttpAsyncClient tries to instantiate package visible class org.apache.http.impl.client.cache.BasicHttpCache. It is OK in normal case, but fails if CachingHttpAsyncClient and BasicHttpCache are loaded from different classloaders, becoming two different run-time packages, causing throwing java.lang.IllegalAccessError. We unfortunately encounter this abnormal case, that Jira-plugin depends on httpcomponents-asyncclient loaded by plugin classloader and httpclient-cache loaded by another(which loads apache-httpcomponents-client-4-api). So, it comes the solution. The simplest one, remove dependency of apache-httpcomponents-client-4-api, as warden mentioned above. Or we can add httpcomponents-asyncclient dependency into apache-httpcomponents-client-4-api.  refer: https://jenkins.io/doc/developer/plugin-development/dependencies-and-class-loading/ https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-5.html#jvms-5.3

          Oleg Nenashev added a comment -

          gmshake yes, it was my plan as well. I have already started prototyping the Async Http Client plugin for that yesterday. There is already https://github.com/jenkinsci/async-http-client-plugin, but it uses another library.

          Ideally I would be happy to get rid of JRJC at all since it's not well maintained anymore, but it requires a serious plugin update

          Oleg Nenashev added a comment - gmshake yes, it was my plan as well. I have already started prototyping the Async Http Client plugin for that yesterday. There is already https://github.com/jenkinsci/async-http-client-plugin , but it uses another library. Ideally I would be happy to get rid of JRJC at all since it's not well maintained anymore, but it requires a serious plugin update

          Oleg Nenashev added a comment -

          danielbeck warden My proposal would be to blacklist 2.5.1 in the update center for now (see the reported issue).
          michaelneale jamesdumay do you plan to finalize the fix?

          Oleg Nenashev added a comment - danielbeck warden My proposal would be to blacklist 2.5.1 in the update center for now (see the reported issue). michaelneale jamesdumay do you plan to finalize the fix?

          +1, that's the simpler scenario - any write-up how to do that? I don't see anything on confluence...
          Alternatively, I could do a 2.5.2 hotfix release from a separate branch with cherry-picked commits w/o httpclient changes.

          Radek Antoniuk added a comment - +1, that's the simpler scenario - any write-up how to do that? I don't see anything on confluence... Alternatively, I could do a 2.5.2 hotfix release from a separate branch with cherry-picked commits w/o httpclient changes.

          Oleg Nenashev added a comment -

          warden the problem is that the plugin collides with other plugins which use new Apache HttpComponents Client 4.x API Plugin or which bundle the httpclient-cache library directly. E.g. JENKINS-49208 which happens with JIRA Plugin 2.3. Just reverting the fix won't help though it would make the plugin self-consistent at least

          Oleg Nenashev added a comment - warden the problem is that the plugin collides with other plugins which use new Apache HttpComponents Client 4.x API Plugin or which bundle the httpclient-cache library directly. E.g. JENKINS-49208 which happens with JIRA Plugin 2.3. Just reverting the fix won't help though it would make the plugin self-consistent at least

          Michael Neale added a comment -

          oleg_nenashev may make sense to blacklist if it is that bad. Rolling forward with a fix (from here I guess?) will make sense but I don't think jamesdumay will be around this week to look at it. 

          Michael Neale added a comment - oleg_nenashev may make sense to blacklist if it is that bad. Rolling forward with a fix (from here I guess?) will make sense but I don't think jamesdumay will be around this week to look at it. 

          Paul Holden added a comment -

          Can I just confirm that this is the same bug I'm experiencing in the below stacktrace since upgrading to 2.5.1 :

          WARNING: Step ‘JIRA: Update relevant issues’ aborted due to exception: 
          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.getSession(JiraSite.java:278)
          	at hudson.plugins.jira.Updater.perform(Updater.java:95)
          	at hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:64)
          	at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
          	at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
          	at hudson.model.Build$BuildExecution.post2(Build.java:186)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
          	at hudson.model.Run.execute(Run.java:1749)
          	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          	at hudson.model.ResourceController.execute(ResourceController.java:97)
          	at hudson.model.Executor.run(Executor.java:421)
          

          ... & also what is reported in JENKINS-49214

          Is it expected behaviour that an error in a post-build step, causes a build to fail that otherwise passed 100%?

          Paul Holden added a comment - Can I just confirm that this is the same bug I'm experiencing in the below stacktrace since upgrading to 2.5.1 : WARNING: Step ‘JIRA: Update relevant issues’ aborted due to exception: 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.getSession(JiraSite.java:278) at hudson.plugins.jira.Updater.perform(Updater.java:95) at hudson.plugins.jira.JiraIssueUpdater.perform(JiraIssueUpdater.java:64) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1749) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:421) ... & also what is reported in JENKINS-49214 Is it expected behaviour that an error in a post-build step, causes a build to fail that otherwise passed 100%?

          Oleg Nenashev added a comment -

          Yes, it is the same issue.

          My proposals:

          • Create a new "Apache HttpComponents Async Client API Plugin", which depends on Apache HttpComponents Client 4.x API Plugin
          • Update JIRA plugin to use the new plugin and exclude dependencies

          I am not fully convinced it's going to solve all the issues, but at least it will solve Async Client Compat issues reported above

          Oleg Nenashev added a comment - Yes, it is the same issue. My proposals: Create a new "Apache HttpComponents Async Client API Plugin", which depends on Apache HttpComponents Client 4.x API Plugin Update JIRA plugin to use the new plugin and exclude dependencies I am not fully convinced it's going to solve all the issues, but at least it will solve Async Client Compat issues reported above

          Oleg Nenashev added a comment -

          I confirmed that the issue happens on the 2.0 release of JIRA...

          Oleg Nenashev added a comment - I confirmed that the issue happens on the 2.0 release of JIRA...

          Since we're getting more bugs, oleg_nenashev are you able to blacklist 2.5.1 or point me to some how-to for doing it?

          Radek Antoniuk added a comment - Since we're getting more bugs, oleg_nenashev are you able to blacklist 2.5.1 or point me to some how-to for doing it?

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - warden Example: https://github.com/jenkins-infra/backend-update-center2/pull/167/files

          Michael Neale added a comment -

          oleg_nenashev so the blacklist won't necessarily help? (but your client api plugin should help)

          Michael Neale added a comment - oleg_nenashev so the blacklist won't necessarily help? (but your client api plugin should help)

          Michael Neale added a comment -

          jamesdumay this seems to be causing a lot of pain - is the root of it the Atlassian dependencies (eg JIRA rest api) which does unpleasant things? is there any solution to this on the JIRA plugin side? 

           

          It is almost like a re-write of the api side or shading of things needs to be done, given the pain caused (I think) by these external dependencies. THis plugin is not in a good state. 

          Michael Neale added a comment - jamesdumay this seems to be causing a lot of pain - is the root of it the Atlassian dependencies (eg JIRA rest api) which does unpleasant things? is there any solution to this on the JIRA plugin side?    It is almost like a re-write of the api side or shading of things needs to be done, given the pain caused (I think) by these external dependencies. THis plugin is not in a good state. 

          Code changed in jenkins
          User: Radek Antoniuk
          Path:
          src/main/resources/artifact-ignores.properties
          http://jenkins-ci.org/commit/backend-update-center2/2f8d6be099d1ef9a64d0d32b67f2713b5ad54dea
          Log:
          JENKINS-48357 - blacklist jira-plugin 2.5.1 because of Apache HTTP dependencies conflict

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Radek Antoniuk Path: src/main/resources/artifact-ignores.properties http://jenkins-ci.org/commit/backend-update-center2/2f8d6be099d1ef9a64d0d32b67f2713b5ad54dea Log: JENKINS-48357 - blacklist jira-plugin 2.5.1 because of Apache HTTP dependencies conflict

          Code changed in jenkins
          User: Daniel Beck
          Path:
          src/main/resources/artifact-ignores.properties
          http://jenkins-ci.org/commit/backend-update-center2/343ff422ca2c3c1d1c39506c55ac81033c54b442
          Log:
          Merge pull request #182 from warden/JENKINS-48357-blacklist-2.5.1

          JENKINS-48357 - blacklist jira-plugin 2.5.1

          Compare: https://github.com/jenkins-infra/backend-update-center2/compare/b3e36b8b66c6...343ff422ca2c

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: src/main/resources/artifact-ignores.properties http://jenkins-ci.org/commit/backend-update-center2/343ff422ca2c3c1d1c39506c55ac81033c54b442 Log: Merge pull request #182 from warden/ JENKINS-48357 -blacklist-2.5.1 JENKINS-48357 - blacklist jira-plugin 2.5.1 Compare: https://github.com/jenkins-infra/backend-update-center2/compare/b3e36b8b66c6...343ff422ca2c

          Ariel Einfeld added a comment -

          Hey Guys,

          any ETA when it will get fixed?

          Ariel Einfeld added a comment - Hey Guys, any ETA when it will get fixed?

          Michael Neale added a comment -

          ariele well in the short term - 2.5.1 was blacklisted from update centre which eases things for some people. 

          Otherwise there is some action in https://github.com/jenkinsci/jira-plugin/pull/139 where gmshake is suggesting a newer version of the Atlassian libraries  - but not sure what the real solution is. The problem is with the Atlassian libraries and their dependencies and use of maven, not the JIRA plugin (which depends on it - although does make me think maybe it should not use them as they seem to cause so many problems). 

           

          Michael Neale added a comment - ariele well in the short term - 2.5.1 was blacklisted from update centre which eases things for some people.  Otherwise there is some action in https://github.com/jenkinsci/jira-plugin/pull/139  where gmshake is suggesting a newer version of the Atlassian libraries  - but not sure what the real solution is. The problem is with the Atlassian libraries and their dependencies and use of maven, not the JIRA plugin (which depends on it - although does make me think maybe it should not use them as they seem to cause so many problems).   

          Ariel Einfeld added a comment - - edited

          michaelneale

          as it seems, the issue of the JIRA Plugin is with the plugin "Apache HttpComponents Client 4.x API Plugin".
          currently i have the latest version : 4.5.3-2.1

          if i use other JIRA plugins that are using user/password, then it works just fine.

          for example: JIRA Pipeline Steps plugin is able to connect.

           

          Ariel Einfeld added a comment - - edited michaelneale as it seems, the issue of the JIRA Plugin is with the plugin "Apache HttpComponents Client 4.x API Plugin". currently i have the latest version : 4.5.3-2.1 if i use other JIRA plugins that are using user/password, then it works just fine. for example: JIRA Pipeline Steps plugin is able to connect.  

          Zhenlei Huang added a comment -

          ariele I'm getting confused by 

          if i use other JIRA plugins that are using user/password, then it works just fine.

          .

          Do you mean use other versions of JIRA plugins or something else?

          Zhenlei Huang added a comment - ariele I'm getting confused by  if i use other JIRA plugins that are using user/password, then it works just fine. . Do you mean use other versions of JIRA plugins or something else?

          Ariel Einfeld added a comment - - edited

          gmshake

          for example: JIRA Pipeline Steps plugin is able to connect.

          Ariel Einfeld added a comment - - edited gmshake for example: JIRA Pipeline Steps plugin is able to connect.

          Zhenlei Huang added a comment - - edited

          ariele Got it! Thanks for that  

          Zhenlei Huang added a comment - - edited ariele  Got it! Thanks for that  

          Ariel Einfeld added a comment - - edited

          gmshake
          happy to help, but can you please share the ETA for this fix once you have it?

          Ariel Einfeld added a comment - - edited gmshake happy to help, but can you please share the ETA for this fix once you have it?

          Zhenlei Huang added a comment - - edited

          ariele Sorry but no ETA from my perspective since I'm not the maintainer. Could you please rollback JIRA plugin from 2.5.1 to 2.5 or try the latest snapshot version with fix https://ci.jenkins.io/job/Plugins/job/jira-plugin/job/PR-139/2/artifact/target/jira.hpi ?

          Zhenlei Huang added a comment - - edited ariele Sorry but no ETA from my perspective since I'm not the maintainer. Could you please rollback JIRA plugin from 2.5.1 to 2.5 or try the latest snapshot version with fix https://ci.jenkins.io/job/Plugins/job/jira-plugin/job/PR-139/2/artifact/target/jira.hpi ?

          Oleg Nenashev added a comment -

          Some issues will be still happening on 2.5. E.g. the original report from jamesdumay in this ticket and JENKINS-49208.

          Oleg Nenashev added a comment - Some issues will be still happening on 2.5. E.g. the original report from jamesdumay in this ticket and JENKINS-49208 .

          Ariel Einfeld added a comment -

          gmshake
          i didnt upgrade from 2.5.0 to 2.5.1.

          i just installed from fresh - version 2.5.1

          how can i downgrade it?

          Ariel Einfeld added a comment - gmshake i didnt upgrade from 2.5.0 to 2.5.1. i just installed from fresh - version 2.5.1 how can i downgrade it?

          Zhenlei Huang added a comment - - edited

          ariele

          Good question !
          Maybe uninstall 2.5.1 first and then reinstall 2.5 ?
          I've not tried that yet

          It seems like JIRA plugin 2.5.1 is still in update center at this moment. warden Can you please confirm that?

          Zhenlei Huang added a comment - - edited ariele Good question ! Maybe uninstall 2.5.1 first and then reinstall 2.5 ? I've not tried that yet It seems like JIRA plugin 2.5.1 is still in update center at this moment. warden Can you please confirm that?

          Ariel Einfeld added a comment -

          gmshake warden
          guys, we really need a fix for this, its CRITICAL.
          if version 2.5.0 is good, please revert it from the update center.

          Thanks,

          Ariel Einfeld added a comment - gmshake warden guys, we really need a fix for this, its CRITICAL. if version 2.5.0 is good, please revert it from the update center. Thanks,

          Zhenlei Huang added a comment -

          oleg_nenashev Sorry I missed the original report.

          Zhenlei Huang added a comment - oleg_nenashev Sorry I missed the original report.

          Oleg Nenashev added a comment -

          ariele there is an architecture issue in the plugin. All versions of JIRA plugin are generally affected. Using caps in messages does not help. If you are ready to contribute your time and help to get it fixed (like gmshake does), it would really help.

          Oleg Nenashev added a comment - ariele there is an architecture issue in the plugin. All versions of JIRA plugin are generally affected. Using caps in messages does not help. If you are ready to contribute your time and help to get it fixed (like gmshake does), it would really help.

          Ariel Einfeld added a comment -

          oleg_nenashev
          i'd be happy too, the caps are just to mention that its impact on our business.
          from my point of view, we should revert the store to version 2.5.
          if you can share with me on how to make it happen, i will be happy to do it.

          if its simply to go to the github and revert to 2.5 - i'll do it.  

          Ariel Einfeld added a comment - oleg_nenashev i'd be happy too, the caps are just to mention that its impact on our business. from my point of view, we should revert the store to version 2.5. if you can share with me on how to make it happen, i will be happy to do it. if its simply to go to the github and revert to 2.5 - i'll do it.  

          Oleg Nenashev added a comment -

          ariele It should have been already removed from UC, but there was a mistake in the blacklisting file. Created https://github.com/jenkins-infra/backend-update-center2/pull/183

          Oleg Nenashev added a comment - ariele It should have been already removed from UC, but there was a mistake in the blacklisting file. Created https://github.com/jenkins-infra/backend-update-center2/pull/183

          Ariel Einfeld added a comment - - edited

          oleg_nenashev
          i see, so what does it mean?

          that should be switched to 2.5?

          Ariel Einfeld added a comment - - edited oleg_nenashev i see, so what does it mean? that should be switched to 2.5?

          When aforementioned PR is merged, then in UC you'll see only 2.5.
          Regardless, you should be able to go to GH and pull 2.5 and install manually.

          Radek Antoniuk added a comment - When aforementioned PR is merged, then in UC you'll see only 2.5. Regardless, you should be able to go to GH and pull 2.5 and install manually.

          Ariel Einfeld added a comment -

          warden
          i always install via jenkins, never did it manually.
          i can pull the repo but how can i install it?

          Ariel Einfeld added a comment - warden i always install via jenkins, never did it manually. i can pull the repo but how can i install it?

          1. http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/jira/2.5/
          2. download jira-2.5.hpi
          3. install via `pluginManager/advanced` / uploadPlugin

          Radek Antoniuk added a comment - 1. http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/jira/2.5/ 2. download jira-2.5.hpi 3. install via `pluginManager/advanced` / uploadPlugin

          Oleg Nenashev added a comment -

          ariele In plugin manager there is an Advanced section, which allows uploading a plugin.
          HPIs for old versions can be downloaded from here: https://updates.jenkins.io/download/plugins/jira/

          Oleg Nenashev added a comment - ariele In plugin manager there is an Advanced section, which allows uploading a plugin. HPIs for old versions can be downloaded from here: https://updates.jenkins.io/download/plugins/jira/

          Ariel Einfeld added a comment -

          Ariel Einfeld added a comment -

          Ariel Einfeld added a comment -

          oleg_nenashev
          sent above the page i get...where can i find the download action?

          Ariel Einfeld added a comment - oleg_nenashev sent above the page i get...where can i find the download action?

          Oleg Nenashev added a comment -

          "Upload plugin".
          Download links are not in Jenkins, see the responses above

          Oleg Nenashev added a comment - "Upload plugin". Download links are not in Jenkins, see the responses above

          Ariel Einfeld added a comment -

          oleg_nenashev
          sorry, missed the comment above.
          checking it now
          thanks.

          Ariel Einfeld added a comment - oleg_nenashev sorry, missed the comment above. checking it now thanks.

            olamy Olivier Lamy
            jamesdumay James Dumay
            Votes:
            40 Vote for this issue
            Watchers:
            61 Start watching this issue

              Created:
              Updated:
              Resolved: