Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.VerifyError: com/ning/http/client/providers/jdk/JDKAsyncHttpProvider #579

Closed
ghost opened this issue Jun 25, 2014 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Jun 25, 2014

Hi,

I am new to this library and trying it out, but when i tried running the code in android, i get the following error

E/AndroidRuntime( 1190): Caused by: java.lang.VerifyError:
com/ning/http/client/providers/jdk/JDKAsyncHttpProvider
E/AndroidRuntime( 1190): at
com.ning.http.client.AsyncHttpClient.loadDefaultProvider(AsyncHttpClient.java:584)
E/AndroidRuntime( 1190): at
com.ning.http.client.AsyncHttpClient.(AsyncHttpClient.java:181)

I have the libraries (async-http-client) and also sl4j-api and also sl4j-simple.

How do i correct this error? Please assist.
Thanks.

cs-workco pushed a commit to cs-workco/async-http-client that referenced this issue Apr 13, 2023
Same fix for HTTP/1 that landed for HTTP/2 in AsyncHttpClient#558.

### Motivation

`HTTP1ClientChannelHandler` currently does not tolerate immediate write errors.

### Changes

Make `HTTP1ClientChannelHandler` resilient to failing writes.

### Result

Less crashes in AHC HTTP/1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant