java.lang.IllegalStateException

Exception thrown on Scheduler.Worker thread. Add `onError` handling.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5984

  • Exception thrown on Scheduler.Worker thread. Add `onError` handling.
  • Exception thrown on Scheduler.Worker thread. Add `onError` handling.
  • Exception thrown on Scheduler.Worker thread. Add `onError` handling.
  • Stack trace

    • java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling. at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:60) at rx.internal.schedulers.ExecutorScheduler$ExecutorSchedulerWorker.run(ExecutorScheduler.java:104) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5525) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620) Caused by: rx.exceptions.OnErrorNotImplementedException: Prepare failed.: status=0x1 at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call(InternalObservableUtils.java:386) at rx.internal.util.InternalObservableUtils$ErrorNotImplementedAction.call(InternalObservableUtils.java:383) at rx.internal.util.ActionSubscriber.onError(ActionSubscriber.java:44) at rx.observers.SafeSubscriber._onError(SafeSubscriber.java:157) at rx.observers.SafeSubscriber.onError(SafeSubscriber.java:120) at rx.exceptions.Exceptions.throwOrReport(Exceptions.java:204) at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:144) at rx.subjects.SubjectSubscriptionManager$SubjectObserver.onNext(SubjectSubscriptionManager.java:225) at rx.subjects.PublishSubject.onNext(PublishSubject.java:114) at y2k.joyreactor.common.ObservableProperty$$special$$inlined$observable$1.afterChange(Delegates.kt:57) at kotlin.properties.ObservableProperty.setValue(ObservableProperty.kt:36) at y2k.joyreactor.common.ObservableProperty.setValue(ObservableProperty.kt) at y2k.joyreactor.common.ObservableProperty.plusAssign(ObservableProperty.kt:24) at y2k.joyreactor.viewmodel.VideoViewModel$1.invoke(VideoViewModel.kt:24) at y2k.joyreactor.viewmodel.VideoViewModel$1.invoke(VideoViewModel.kt:12) at y2k.joyreactor.common.ObservableExtensionsKt$sam$Action1$0605da30.call(ObservableExtensions.kt) at rx.Single$16.onNext(Single.java:1687) at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139) at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(OperatorObserveOn.java:227) at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55) ... 8 more Caused by: java.io.IOException: Prepare failed.: status=0x1 at android.media.MediaPlayer._prepare(Native Method) at android.media.MediaPlayer.prepare(MediaPlayer.java:1163) at y2k.joyreactor.widget.MuteVideoView.play(MuteVideoView.kt:54) at y2k.joyreactor.common.BindingBuilder$muteVideoView$1.invoke(ViewBinding.kt:143) at y2k.joyreactor.common.BindingBuilder$muteVideoView$1.invoke(ViewBinding.kt:60) at y2k.joyreactor.common.ObservablePropertyKt$sam$Action1$fb5cd431.call(ObservableProperty.kt) at rx.internal.util.ActionSubscriber.onNext(ActionSubscriber.java:39) at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 3 months ago
    2 times, 5 months ago
    6 times, 8 months ago
    2 times, 11 months ago
    Unknown user
    Once, 11 months ago
    6 more bugmates