PrintWriter.println() has thrown a NetworkOnMainThreadException

We found this prefix in 2 webpages.
MapChildren (2)Typical messages (1)TraceDetailed Map
  1. android.os.NetworkOnMainThreadException
    1.   at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork()
    2.   at java.net.SocketOutputStream.socketWrite()
    3.   at java.net.SocketOutputStream.write()
    4.   at sun.nio.cs.StreamEncoder.writeBytes()
    5.   at sun.nio.cs.StreamEncoder.implFlushBuffer()
    6.   at sun.nio.cs.StreamEncoder.implFlush()
    7.   at sun.nio.cs.StreamEncoder.flush()
    8.   at java.io.OutputStreamWriter.flush()
    9.   at java.io.BufferedWriter.flush()
    10.   at java.io.PrintWriter.newLine()
    11.   at java.io.PrintWriter.println()
    12.   at java.io.PrintWriter.println()
  1. GitHub iconAndroid app crashes on Nougat when changing volume

    First:2 years ago
    Last:2 years ago
    Author:schrockblock
  2. Error: android.os.NetworkOnMainThreadException while using asynctask

    First:2 years ago
    Last:2 years ago
    Author:Jelle
MessageNumber of crashes
<No message>2
  1. android.os.NetworkOnMainThreadException
    1.   at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork()
    2.   at java.net.SocketOutputStream.socketWrite()
    3.   at java.net.SocketOutputStream.write()
    4.   at sun.nio.cs.StreamEncoder.writeBytes()
    5.   at sun.nio.cs.StreamEncoder.implFlushBuffer()
    6.   at sun.nio.cs.StreamEncoder.implFlush()
    7.   at sun.nio.cs.StreamEncoder.flush()
    8.   at java.io.OutputStreamWriter.flush()
    9.   at java.io.BufferedWriter.flush()
    10.   at java.io.PrintWriter.newLine()
    11.   at java.io.PrintWriter.println()
    12.   at java.io.PrintWriter.println()