java.util.concurrent.ExecutionException: android.os. NetworkOnMainThreadException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Bassam, 10 months ago
android.os. NetworkOnMainThreadException
java.util.concurrent.ExecutionException: android.os. NetworkOnMainThreadException
at com.ning.http.client.providers.netty.NettyResponseFuture.abort(NettyResponseFuture.java:342)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.abort(NettyAsyncHttpProvider.java:1418)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.doConnect(NettyAsyncHttpProvider.java:1106)
at com.ning.http.client.providers.netty.NettyAsyncHttpProvider.execute(NettyAsyncHttpProvider.java:935)
at dispatch.HttpExecutor$class.apply(execution.scala:47)
at dispatch.Http.apply(execution.scala:12)
at dispatch.HttpExecutor$class.apply(execution.scala:42)
at dispatch.Http.apply(execution.scala:12)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
3 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.