android.os.NetworkOnMainThreadException: This exception has no message.

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 GitHub by mauriciocoelho
, 1 year ago
This exception has no message.
via Stack Overflow by Abdullah Umer
, 2 years ago
This exception has no message.
via Google Groups by Gaara, 3 months ago
This exception has no message.
via GitHub by aem
, 4 months ago
This exception has no message.
android.os.NetworkOnMainThreadException:
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.close(OpenSSLSocketImpl.java:908)
at org.apache.http.impl.SocketHttpClientConnection.shutdown(SocketHttpClientConnection.java:183)
at org.apache.http.impl.conn.DefaultClientConnection.shutdown(DefaultClientConnection.java:150)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.shutdown(AbstractPooledConnAdapter.java:169)
at org.apache.http.impl.conn.AbstractClientConnAdapter.abortConnection(AbstractClientConnAdapter.java:378)
at org.apache.http.impl.client.DefaultRequestDirector.abortConnection(DefaultRequestDirector.java:1031)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:530)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
at com.google.android.gms.analytics.h.a(Unknown Source)
at com.google.android.gms.analytics.h.a(Unknown Source)
at com.google.android.gms.analytics.ag.dispatch(Unknown Source)
at com.google.android.gms.analytics.w.eD(Unknown Source)
at com.google.android.gms.analytics.w.dispatch(Unknown Source)
at com.google.android.gms.analytics.x$b.run(Unknown Source)
at com.google.android.gms.analytics.x.dY(Unknown Source)
at com.google.android.gms.analytics.GoogleAnalytics.dY(Unknown Source)
at com.google.android.gms.analytics.ExceptionReporter.uncaughtException(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)

Users with the same issue

Samebug visitor profile picture
Unknown user
2 times, 4 weeks ago
3 times, 4 months ago
6 times, 8 months ago
34 times, 8 months ago
4 times, 9 months ago
39 more bugmates

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