android.os.NetworkOnMainThreadException

GitHub | jehy | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 16#271564214

    GitHub | 3 months ago | jehy
    android.os.NetworkOnMainThreadException
  2. 0

    db:: 5.96::error 26 at 00000000009E83 1k

    hivmr.com | 1 year ago
    java.net.SocketException: Broken pipe
  3. 0

    Why does my CURL post my request twice or why does my stream contains repeated request message?

    Stack Overflow | 4 months ago | Kid
    java.net.SocketException: Broken pipe
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Broken Pipes

    Oracle Community | 10 years ago | 843790
    java.net.SocketException: Broken pipe
  6. 0

    Broken pipe error when connecting to Azure Database on MacOS Sierra

    YouTrack | 6 months ago
    ava.net.SocketException: Broken pipe
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:1303)
    1 frame
  3. Java RT
    OutputStreamWriter.flush
    1. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
    2. java.net.SocketOutputStream.write(SocketOutputStream.java:157)
    3. sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
    4. sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
    5. sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
    6. sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
    7. java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    7 frames
  4. net.freehaven.tor
    TorControlConnection.getInfo
    1. net.freehaven.tor.control.TorControlConnection.sendAndWaitForResponse(TorControlConnection.java:183)
    2. net.freehaven.tor.control.TorControlConnection.getInfo(TorControlConnection.java:613)
    3. net.freehaven.tor.control.TorControlConnection.getInfo(TorControlConnection.java:638)
    3 frames
  5. com.msopentech.thali
    AndroidOnionProxyManager$NetworkStateReceiver.onReceive
    1. com.msopentech.thali.toronionproxy.OnionProxyManager.isBootstrapped(OnionProxyManager.java:296)
    2. com.msopentech.thali.toronionproxy.OnionProxyManager.isRunning(OnionProxyManager.java:244)
    3. com.msopentech.thali.android.toronionproxy.AndroidOnionProxyManager$NetworkStateReceiver.onReceive(AndroidOnionProxyManager.java:116)
    3 frames
  6. Android Platform
    ActivityThread.main
    1. android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:1122)
    2. android.os.Handler.handleCallback(Handler.java:751)
    3. android.os.Handler.dispatchMessage(Handler.java:95)
    4. android.os.Looper.loop(Looper.java:154)
    5. android.app.ActivityThread.main(ActivityThread.java:6126)
    5 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
    2 frames