java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling.

GitHub | FrancYescO | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 1237#242674732

    GitHub | 8 months ago | FrancYescO
    java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling.

    Root Cause Analysis

    1. rx.exceptions.OnErrorNotImplementedException

      lateinit property playerStats has not been initialized

      at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call()
    2. rxjava
      Exceptions.throwOrReport
      1. rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call(InternalObservableUtils.java:374)
      2. rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call(InternalObservableUtils.java:371)
      3. rx.internal.util.ActionSubscriber.onError(ActionSubscriber.java:44)
      4. rx.observers.SafeSubscriber._onError(SafeSubscriber.java:157)
      5. rx.observers.SafeSubscriber.onError(SafeSubscriber.java:120)
      6. rx.exceptions.Exceptions.throwOrReport(Exceptions.java:204)
      6 frames