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

GitHub | y2k | 2 months ago
  1. 0

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

    GitHub | 2 months ago | y2k
    java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) Error

    Stack Overflow | 1 year ago | KISHORE_ZE
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
  4. 0

    GitHub comment 8#62458137

    GitHub | 2 years ago | RubenGees
    java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0

  1. sriharshakiran 2 times, last 6 months ago
  2. Agócs Tamás 4 times, last 10 months ago
4 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. java.lang.IndexOutOfBoundsException

    Invalid index 20, size is 12

    at java.util.ArrayList.throwIndexOutOfBoundsException()
  2. Java RT
    ArrayList.add
    1. java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
    2. java.util.ArrayList.add(ArrayList.java:147)
    2 frames
  3. y2k.joyreactor.widget
    PostListComponent$1.invoke
    1. y2k.joyreactor.widget.PostListComponent$1.invoke(PostListComponent.kt:36)
    2. y2k.joyreactor.widget.PostListComponent$1.invoke(PostListComponent.kt:17)
    2 frames
  4. y2k.joyreactor.common
    ObservablePropertyKt$sam$Action1$fb5cd431.call
    1. y2k.joyreactor.common.ObservablePropertyKt$sam$Action1$fb5cd431.call(ObservableProperty.kt)
    1 frame
  5. rxjava
    PublishSubject.onNext
    1. rx.internal.util.ActionSubscriber.onNext(ActionSubscriber.java:39)
    2. rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139)
    3. rx.subjects.SubjectSubscriptionManager$SubjectObserver.onNext(SubjectSubscriptionManager.java:225)
    4. rx.subjects.PublishSubject.onNext(PublishSubject.java:114)
    4 frames
  6. y2k.joyreactor.common
    ObservableProperty$$special$$inlined$observable$1.afterChange
    1. y2k.joyreactor.common.ObservableProperty$$special$$inlined$observable$1.afterChange(Delegates.kt:57)
    1 frame
  7. kotlin.properties
    ObservableProperty.setValue
    1. kotlin.properties.ObservableProperty.setValue(ObservableProperty.kt:36)
    1 frame
  8. y2k.joyreactor.common
    ObservablePropertyKt$sam$Action1$fb5cd431.call
    1. y2k.joyreactor.common.ObservableProperty.setValue(ObservableProperty.kt)
    2. y2k.joyreactor.common.ObservableProperty.plusAssign(ObservableProperty.kt:24)
    3. y2k.joyreactor.common.BindingBuilder$bind$1.invoke(ViewBinding.kt:229)
    4. y2k.joyreactor.common.BindingBuilder$bind$1.invoke(ViewBinding.kt:60)
    5. y2k.joyreactor.common.ObservablePropertyKt$sam$Action1$fb5cd431.call(ObservableProperty.kt)
    5 frames
  9. rxjava
    PublishSubject.onNext
    1. rx.internal.util.ActionSubscriber.onNext(ActionSubscriber.java:39)
    2. rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139)
    3. rx.subjects.SubjectSubscriptionManager$SubjectObserver.onNext(SubjectSubscriptionManager.java:225)
    4. rx.subjects.PublishSubject.onNext(PublishSubject.java:114)
    4 frames
  10. y2k.joyreactor.common
    ObservableProperty$$special$$inlined$observable$1.afterChange
    1. y2k.joyreactor.common.ObservableProperty$$special$$inlined$observable$1.afterChange(Delegates.kt:57)
    1 frame
  11. kotlin.properties
    ObservableProperty.setValue
    1. kotlin.properties.ObservableProperty.setValue(ObservableProperty.kt:36)
    1 frame
  12. y2k.joyreactor.common
    ObservableProperty$subscribe$sub$1.call
    1. y2k.joyreactor.common.ObservableProperty.setValue(ObservableProperty.kt)
    2. y2k.joyreactor.common.ObservableProperty.plusAssign(ObservableProperty.kt:24)
    3. y2k.joyreactor.common.ObservableProperty$subscribe$sub$1.call(ObservableProperty.kt:39)
    3 frames
  13. rxjava
    PublishSubject.onNext
    1. rx.internal.util.ActionSubscriber.onNext(ActionSubscriber.java:39)
    2. rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139)
    3. rx.subjects.SubjectSubscriptionManager$SubjectObserver.onNext(SubjectSubscriptionManager.java:225)
    4. rx.subjects.PublishSubject.onNext(PublishSubject.java:114)
    4 frames
  14. y2k.joyreactor.common
    ObservableProperty$$special$$inlined$observable$1.afterChange
    1. y2k.joyreactor.common.ObservableProperty$$special$$inlined$observable$1.afterChange(Delegates.kt:57)
    1 frame
  15. kotlin.properties
    ObservableProperty.setValue
    1. kotlin.properties.ObservableProperty.setValue(ObservableProperty.kt:36)
    1 frame
  16. y2k.joyreactor.common
    ObservableProperty.plusAssign
    1. y2k.joyreactor.common.ObservableProperty.setValue(ObservableProperty.kt)
    2. y2k.joyreactor.common.ObservableProperty.plusAssign(ObservableProperty.kt:24)
    2 frames
  17. y2k.joyreactor.viewmodel
    PostListViewModel$1.invoke
    1. y2k.joyreactor.viewmodel.PostListViewModel$1.invoke(PostListViewModel.kt:30)
    2. y2k.joyreactor.viewmodel.PostListViewModel$1.invoke(PostListViewModel.kt:13)
    2 frames
  18. y2k.joyreactor.common
    ObservableExtensionsKt$sam$Action1$0605da30.call
    1. y2k.joyreactor.common.ObservableExtensionsKt$sam$Action1$0605da30.call(ObservableExtensions.kt)
    1 frame
  19. rxjava
    ExecutorScheduler$ExecutorSchedulerWorker.run
    1. rx.Single$16.onNext(Single.java:1687)
    2. rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139)
    3. rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.call(OperatorObserveOn.java:227)
    4. rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
    5. rx.internal.schedulers.ExecutorScheduler$ExecutorSchedulerWorker.run(ExecutorScheduler.java:104)
    5 frames
  20. Android Platform
    ActivityThread.main
    1. android.os.Handler.handleCallback(Handler.java:815)
    2. android.os.Handler.dispatchMessage(Handler.java:104)
    3. android.os.Looper.loop(Looper.java:194)
    4. android.app.ActivityThread.main(ActivityThread.java:5631)
    4 frames
  21. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  22. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
    2 frames