android.os.NetworkOnMainThreadException

GitHub | atsakiridis | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Retrofit 2 error: NetworkOnMainThreadException

    Stack Overflow | 1 year ago | G-J
    android.os.NetworkOnMainThreadException
  2. 0

    Observable.fromAsync not emitting on the proper thread?

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

    Automated exception search integrated into your IDE

  4. 0

    Retrieve Facebook liked pages info

    Stack Overflow | 1 month ago | Jolan Goburdhun
    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: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