java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.

Stack Overflow | Jérôme Boé | 7 months ago
  1. 0

    Fatal Exception thrown on Scheduler.Worker thread with Retrofit 2 and Rx

    Stack Overflow | 7 months ago | Jérôme Boé
    java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    NetworkOnMainThreadException in ExchangeActivity

    GitHub | 2 years ago | SafeSlingerProject
    java.lang.RuntimeException: Unable to destroy activity {edu.cmu.cylab.starslinger/edu.cmu.cylab.starslinger.exchange.ExchangeActivity}: android.os.NetworkOnMainThreadException

  1. bluebunnty 2 times, last 1 week ago
  2. dealloc 2 times, last 2 weeks ago
  3. Aria Pahlavan 8 times, last 3 weeks ago
  4. Alexandru Popa 3 times, last 3 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:1128)
    1 frame
  3. org.apache.harmony
    OpenSSLSocketImpl.close
    1. org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.close(OpenSSLSocketImpl.java:906)
    1 frame
  4. OkHttp
    Call.cancel
    1. com.squareup.okhttp.Connection.closeIfOwnedBy(Connection.java:148)
    2. com.squareup.okhttp.OkHttpClient$1.closeIfOwnedBy(OkHttpClient.java:75)
    3. com.squareup.okhttp.internal.http.HttpConnection.closeIfOwnedBy(HttpConnection.java:137)
    4. com.squareup.okhttp.internal.http.HttpTransport.disconnect(HttpTransport.java:135)
    5. com.squareup.okhttp.internal.http.HttpEngine.disconnect(HttpEngine.java:573)
    6. com.squareup.okhttp.Call.cancel(Call.java:122)
    6 frames
  5. Retrofit
    RxJavaCallAdapterFactory$CallOnSubscribe$1.call
    1. retrofit.OkHttpCall.cancel(OkHttpCall.java:162)
    2. retrofit.RxJavaCallAdapterFactory$CallOnSubscribe$1.call(RxJavaCallAdapterFactory.java:102)
    2 frames
  6. rxjava
    ScheduledAction.run
    1. rx.subscriptions.BooleanSubscription.unsubscribe(BooleanSubscription.java:71)
    2. rx.internal.util.SubscriptionList.unsubscribeFromAll(SubscriptionList.java:124)
    3. rx.internal.util.SubscriptionList.unsubscribe(SubscriptionList.java:113)
    4. rx.Subscriber.unsubscribe(Subscriber.java:98)
    5. rx.internal.util.SubscriptionList.unsubscribeFromAll(SubscriptionList.java:124)
    6. rx.internal.util.SubscriptionList.unsubscribe(SubscriptionList.java:113)
    7. rx.Subscriber.unsubscribe(Subscriber.java:98)
    8. rx.internal.util.SubscriptionList.unsubscribeFromAll(SubscriptionList.java:124)
    9. rx.internal.util.SubscriptionList.unsubscribe(SubscriptionList.java:113)
    10. rx.Subscriber.unsubscribe(Subscriber.java:98)
    11. rx.observers.SafeSubscriber.onCompleted(SafeSubscriber.java:95)
    12. rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:195)
    13. rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:162)
    14. rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
    14 frames
  7. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:725)
    2. android.os.Handler.dispatchMessage(Handler.java:92)
    3. android.os.Looper.loop(Looper.java:153)
    4. android.app.ActivityThread.main(ActivityThread.java:5340)
    4 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java:-2)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
    2 frames
  10. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java:-2)
    1 frame