java.lang.IllegalStateException

Fatal Exception thrown on Scheduler.


Solutions on the web4358

Solution icon of github
via GitHub by wuapnjie
, 2 months ago
Fatal Exception thrown on Scheduler.

Solution icon of stackoverflow
via Stack Overflow by A.Butakidis
, 6 months ago
Fatal Exception thrown on Scheduler.

Solution icon of stackoverflow
via Stack Overflow by Zeyad Gasser
, 1 week ago
Fatal Exception thrown on Scheduler.

Solution icon of stackoverflow
Fatal Exception thrown on Scheduler.

Solution icon of stackoverflow
Fatal Exception thrown on Scheduler.

Solution icon of github
via GitHub by tx123456
, 2 months ago
Fatal Exception thrown on Scheduler.

Solution icon of github
Fatal Exception thrown on Scheduler.

Solution icon of github
via GitHub by Gvardia
, 3 months ago
Fatal Exception thrown on Scheduler.

Solution icon of github
via GitHub by Lineflyer
, 8 months ago
Fatal Exception thrown on Scheduler.

Solution icon of stackoverflow
Fatal Exception thrown on Scheduler.

Stack trace

  • java.lang.IllegalStateException: Fatal Exception thrown on Scheduler. at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:111) 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:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String at com.alex.rxandroidexamples.fragments.TimerExampleFragment$1$2.onNext(TimerExampleFragment.java:64) at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:198) at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:250) at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:109) ... 7 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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.