android.os.NetworkOnMainThreadException

GitHub | DavidEdwards | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Network on Main Thread

    GitHub | 2 months ago | DavidEdwards
    android.os.NetworkOnMainThreadException
  2. 0

    GitHub comment 2976#269745844

    GitHub | 3 months ago | Larnoo
    java.lang.ArrayIndexOutOfBoundsException: length=8192; regionStart=0; regionLength=-1
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Crash when subscribing to Android subreddit

    GitHub | 1 year ago | atharvalele
    android.os.NetworkOnMainThreadException
  5. 0

    Unsubscribe crash

    GitHub | 1 year ago | emacsomancer
    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:1303)
    1 frame
  3. RoboVM
    OpenSSLSocketImpl$SSLOutputStream.write
    1. com.android.org.conscrypt.Platform.blockGuardOnNetwork(Platform.java:300)
    2. com.android.org.conscrypt.OpenSSLSocketImpl$SSLOutputStream.write(OpenSSLSocketImpl.java:808)
    2 frames
  4. Okio
    RealBufferedSink.flush
    1. okio.Okio$1.write(SourceFile:78)
    2. okio.AsyncTimeout$1.write(SourceFile:179)
    3. okio.RealBufferedSink.flush(SourceFile:216)
    3 frames
  5. okhttp3.internal.http2
    Http2Codec.writeRequestHeaders
    1. okhttp3.internal.http2.Http2Writer.flush(SourceFile:121)
    2. okhttp3.internal.http2.Http2Connection.newStream(SourceFile:239)
    3. okhttp3.internal.http2.Http2Connection.newStream(SourceFile:205)
    4. okhttp3.internal.http2.Http2Codec.writeRequestHeaders(SourceFile:105)
    4 frames
  6. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.CallServerInterceptor.intercept(SourceFile:43)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
    3. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
    3 frames
  7. dae.evepi.network
    LoggingInterceptor.intercept
    1. dae.evepi.network.LoggingInterceptor.intercept(SourceFile:20)
    1 frame
  8. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
    1 frame
  9. okhttp3.internal.connection
    ConnectInterceptor.intercept
    1. okhttp3.internal.connection.ConnectInterceptor.intercept(SourceFile:45)
    1 frame
  10. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
    2 frames
  11. okhttp3.internal.cache
    CacheInterceptor.intercept
    1. okhttp3.internal.cache.CacheInterceptor.intercept(SourceFile:93)
    1 frame
  12. okhttp3.internal.http
    RealInterceptorChain.proceed
    1. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
    2. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
    3. okhttp3.internal.http.BridgeInterceptor.intercept(SourceFile:93)
    4. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
    5. okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(SourceFile:120)
    6. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:92)
    7. okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:67)
    7 frames
  13. okhttp3
    RealCall.execute
    1. okhttp3.RealCall.b(SourceFile:179)
    2. okhttp3.RealCall.execute(SourceFile:63)
    2 frames
  14. dae.evepi.network
    Api$7.run
    1. dae.evepi.network.Api.a(SourceFile:188)
    2. dae.evepi.network.Api.getPlanetLayoutBlocking(SourceFile:713)
    3. dae.evepi.network.Api$7.run(SourceFile:753)
    3 frames
  15. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:761)
    1 frame