android.os.NetworkOnMainThreadException

GitHub | schrockblock | 3 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    android login with php & sql server 2008

    Stack Overflow | 2 weeks ago | YVS1102
    android.os.NetworkOnMainThreadException

  1. bluebunnty 2 times, last 2 weeks ago
  2. dealloc 2 times, last 3 weeks ago
  3. Aria Pahlavan 8 times, last 3 weeks ago
  4. Alexandru Popa 3 times, last 4 weeks ago
  5. filpgame 1 times, last 1 month 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:1303)
    1 frame
  3. Java RT
    PrintWriter.println
    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)
    8. java.io.BufferedWriter.flush(BufferedWriter.java:254)
    9. java.io.PrintWriter.newLine(PrintWriter.java:482)
    10. java.io.PrintWriter.println(PrintWriter.java:629)
    11. java.io.PrintWriter.println(PrintWriter.java:740)
    11 frames
  4. de.badaix.snapcast
    ClientItem.onProgressChanged
    1. de.badaix.snapcast.control.TcpClient.sendMessage(TcpClient.java:72)
    2. de.badaix.snapcast.control.RemoteControl.setVolume(RemoteControl.java:222)
    3. de.badaix.snapcast.MainActivity.onVolumeChanged(MainActivity.java:583)
    4. de.badaix.snapcast.ClientItem.onProgressChanged(ClientItem.java:93)
    4 frames
  5. Android Platform
    ViewGroup.dispatchTouchEvent
    1. android.widget.SeekBar.onProgressRefresh(SeekBar.java:93)
    2. android.widget.ProgressBar.doRefreshProgress(ProgressBar.java:1327)
    3. android.widget.ProgressBar.refreshProgress(ProgressBar.java:1382)
    4. android.widget.ProgressBar.setProgressInternal(ProgressBar.java:1447)
    5. android.widget.AbsSeekBar.trackTouchEvent(AbsSeekBar.java:850)
    6. android.widget.AbsSeekBar.onTouchEvent(AbsSeekBar.java:778)
    7. android.view.View.dispatchTouchEvent(View.java:9939)
    8. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    9. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    10. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    11. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    12. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    13. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    14. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    15. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    16. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    17. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    18. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    19. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    20. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    21. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    22. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    23. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    24. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    25. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    26. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    27. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    28. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    29. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    30. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    31. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    32. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    33. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    34. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    35. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    36. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    37. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    38. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2669)
    39. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2358)
    39 frames