In my efforts to update the Clojure client wrapping AHC, I am preparing an intermediate release that uses the latest 1.8.x release of AHC. I'm mostly finished, but I have started seeing this exception sporadically when accessing a particular website:
java.lang.IllegalAccessError: tried to access class org.jboss.netty.handler.ssl.ImmediateExecutor from class com.ning.http.client.providers.netty.NettyAsyncHttpProvider$4
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider$4.getPipeline(NettyAsyncHttpProvider.java:385)
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:212)
at org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:188)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.doConnect(NettyAsyncHttpProvider.java:1100)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.execute(NettyAsyncHttpProvider.java:940)
at com.ning.http.client.AsyncHttpClient.executeRequest(AsyncHttpClient.java:499)
This happens when accessing an https URL, but I'm pretty sure that other https URLs are working. And certainly http URLs work fine. The application driving the client has worked fine for years with the previous client, so I'll bet I've not managed some of the differences between 1.7.10 and 1.8.16 correctly.
Does anybody have any ideas on where to look?
Regards,
Chris