android.os.NetworkOnMainThreadException

Stack Overflow | Rehan Yousaf | 4 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Adding Login Form

    GitHub | 2 years ago | QwertyPong
    android.os.NetworkOnMainThreadException
  3. 0

    Android get data from MySql table

    Stack Overflow | 3 years ago | roshanpeter
    android.os.NetworkOnMainThreadException

  1. MyInnos 4 times, last 8 months ago
  2. 0x60 1 times, last 2 months ago
  3. adawolfs 4 times, last 4 months ago
  4. Bassiuz 1 times, last 5 months ago
  5. jk 12 times, last 6 months ago
12 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:1128)
    1 frame
  3. Java RT
    InetAddress.getAllByName
    1. java.net.InetAddress.lookupHostByName(InetAddress.java:385)
    2. java.net.InetAddress.getAllByNameImpl(InetAddress.java:236)
    3. java.net.InetAddress.getAllByName(InetAddress.java:214)
    3 frames
  4. Apache HttpClient
    AbstractHttpClient.execute
    1. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:137)
    2. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
    3. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
    4. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:365)
    5. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:587)
    6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:511)
    7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:489)
    7 frames
  5. com.heycabs.heycabs
    JSONParser.makeHttpRequest
    1. com.heycabs.heycabs.JSONParser.makeHttpRequest(JSONParser.java:65)
    1 frame