android.os.NetworkOnMainThreadException

GitHub | atsakiridis | 5 months ago
  1. 0

    Retrofit 2 error: NetworkOnMainThreadException

    Stack Overflow | 9 months ago | G-J
    android.os.NetworkOnMainThreadException
  2. 0

    Observable.fromAsync not emitting on the proper thread?

    Stack Overflow | 3 months ago | chubbsondubs
    android.os.NetworkOnMainThreadException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Call.cancel on main thread annoy StrictMode guard.

    GitHub | 3 years ago | pepyakin
    android.os.NetworkOnMainThreadException

  1. brunosatriani 1 times, last 5 months ago
  2. bluebunnty 2 times, last 1 week ago
  3. dealloc 2 times, last 2 weeks ago
  4. Aria Pahlavan 8 times, last 2 weeks ago
  5. Alexandru Popa 3 times, last 3 weeks ago
13 more registered users
21 unregistered visitors
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:1273)
    1 frame
  3. RoboVM
    OpenSSLSocketImpl.close
    1. com.android.org.conscrypt.OpenSSLSocketImpl.shutdownAndFreeSslNative(OpenSSLSocketImpl.java:1131)
    2. com.android.org.conscrypt.OpenSSLSocketImpl.close(OpenSSLSocketImpl.java:1126)
    2 frames
  4. android.gov.nist
    SipStackImpl.deleteSipProvider
    1. android.gov.nist.javax.sip.stack.TLSMessageChannel.close(TLSMessageChannel.java:180)
    2. android.gov.nist.javax.sip.stack.ConnectionOrientedMessageChannel.close(ConnectionOrientedMessageChannel.java:127)
    3. android.gov.nist.javax.sip.stack.TLSMessageProcessor.stop(TLSMessageProcessor.java:225)
    4. android.gov.nist.javax.sip.SipProviderImpl.removeListeningPoints(SipProviderImpl.java:1082)
    5. android.gov.nist.javax.sip.SipStackImpl.deleteSipProvider(SipStackImpl.java:1691)
    5 frames
  5. org.mobicents.restcomm
    RCDevice$1.run
    1. org.mobicents.restcomm.android.sipua.impl.SipManager.unbind(SipManager.java:282)
    2. org.mobicents.restcomm.android.sipua.impl.SipManager.shutdown(SipManager.java:265)
    3. org.mobicents.restcomm.android.sipua.impl.DeviceImpl.Shutdown(DeviceImpl.java:143)
    4. org.mobicents.restcomm.android.client.sdk.RCDevice$1.run(RCDevice.java:278)
    4 frames
  6. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:739)
    2. android.os.Handler.dispatchMessage(Handler.java:95)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.app.ActivityThread.main(ActivityThread.java:5466)
    4 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames