android.os.NetworkOnMainThreadException

GitHub | mauriciocoelho | 1 year ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    NetworkOnMainThreadException caused by AndroidNetworkReachabilityManager

    GitHub | 3 years ago | drjunior
    java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x8000010 (has extras) } in com.couchbase.lite.android.AndroidNetworkReachabilityManager$ConnectivityBroadcastReceiver@41d5a9a8
  3. 0

    NetworkOnMainThreadException in ExchangeActivity

    GitHub | 2 years ago | SafeSlingerProject
    java.lang.RuntimeException: Unable to destroy activity {edu.cmu.cylab.starslinger/edu.cmu.cylab.starslinger.exchange.ExchangeActivity}: android.os.NetworkOnMainThreadException
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.os.NetworkOnMainThreadException

    No message provided

    at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork()
  2. Android Platform
    StrictMode$AndroidBlockGuardPolicy.onNetwork
    1. android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1117)
    1 frame
  3. org.apache.harmony
    OpenSSLSocketImpl.close
    1. org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.close(OpenSSLSocketImpl.java:908)
    1 frame
  4. Apache Http
    SocketHttpClientConnection.shutdown
    1. org.apache.http.impl.SocketHttpClientConnection.shutdown(SocketHttpClientConnection.java:183)
    1 frame
  5. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.conn.DefaultClientConnection.shutdown(DefaultClientConnection.java:150)
    2. org.apache.http.impl.conn.AbstractPooledConnAdapter.shutdown(AbstractPooledConnAdapter.java:169)
    3. org.apache.http.impl.conn.AbstractClientConnAdapter.abortConnection(AbstractClientConnAdapter.java:378)
    4. org.apache.http.impl.client.DefaultRequestDirector.abortConnection(DefaultRequestDirector.java:1031)
    5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:530)
    6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
    7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)
    7 frames
  6. com.google.android
    ExceptionReporter.uncaughtException
    1. com.google.android.gms.analytics.h.a(Unknown Source)
    2. com.google.android.gms.analytics.h.a(Unknown Source)
    3. com.google.android.gms.analytics.ag.dispatch(Unknown Source)
    4. com.google.android.gms.analytics.w.eD(Unknown Source)
    5. com.google.android.gms.analytics.w.dispatch(Unknown Source)
    6. com.google.android.gms.analytics.x$b.run(Unknown Source)
    7. com.google.android.gms.analytics.x.dY(Unknown Source)
    8. com.google.android.gms.analytics.GoogleAnalytics.dY(Unknown Source)
    9. com.google.android.gms.analytics.ExceptionReporter.uncaughtException(Unknown Source)
    9 frames
  7. Java RT
    ThreadGroup.uncaughtException
    1. java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
    2. java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame