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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by ajdevy
, 1 year ago
This exception has no message.
via Stack Overflow by Canvas
, 2 years ago
via Stack Overflow by G-J
, 1 year ago
android.os.NetworkOnMainThreadException:
at com.android.org.conscrypt.OpenSSLSocketImpl.shutdownAndFreeSslNative(OpenSSLSocketImpl.java:1131)
at com.android.org.conscrypt.OpenSSLSocketImpl.close(OpenSSLSocketImpl.java:1126)
at okhttp3.internal.Util.closeQuietly(Util.java:105)

Users with the same issue

Once, 1 year ago
34 times, 8 months ago
4 times, 9 months ago
2 times, 1 year ago
3 times, 1 year ago

Write tip

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