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 h1091129209
, 2 years ago
This exception has no message.
via GitHub by mitaichik
, 1 year ago
via GitHub by jehy
, 1 year ago
This exception has no message.
via Stack Overflow by jtrain
, 2 years ago
android.os.NetworkOnMainThreadException at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1117) at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.close(OpenSSLSocketImpl.java:926) at com.squareup.okhttp.Connection.closeIfOwnedBy(Connection.java:148) at com.squareup.okhttp.OkHttpClient$1.closeIfOwnedBy(OkHttpClient.java:76) at com.squareup.okhttp.internal.http.HttpConnection.closeIfOwnedBy(HttpConnection.java:137) at com.squareup.okhttp.internal.http.HttpTransport.disconnect(HttpTransport.java:134) at com.squareup.okhttp.internal.http.HttpEngine.disconnect(HttpEngine.java:573) at com.squareup.okhttp.Dispatcher.cancel(Dispatcher.java:128) at com.squareup.okhttp.OkHttpClient.cancel(OkHttpClient.java:611) at com.zhy.http.okhttp.OkHttpClientManager.cancelTag(OkHttpClientManager.java:208) at com.yundcm.hhh.MainActivity$1.onClick(MainActivity.java:56) at android.view.View.performClick(View.java:4084) at android.view.View$PerformClick.run(View.java:16966) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4745) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method)