Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by y2k
, 1 year ago
Exception thrown on Scheduler.Worker thread. Add `onError` handling.
via GitHub by y2k
, 1 year ago
Exception thrown on Scheduler.Worker thread. Add `onError` handling.
java.lang.IndexOutOfBoundsException: Invalid index 20, size is 12	at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)	at java.util.ArrayList.add(ArrayList.java:147)	at y2k.joyreactor.widget.PostListComponent$1.invoke(PostListComponent.kt:36)	at y2k.joyreactor.widget.PostListComponent$1.invoke(PostListComponent.kt:17)	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)	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.common.BindingBuilder$bind$1.invoke(ViewBinding.kt:229)	at y2k.joyreactor.common.BindingBuilder$bind$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)	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.common.ObservableProperty$subscribe$sub$1.call(ObservableProperty.kt:39)	at rx.internal.util.ActionSubscriber.onNext(ActionSubscriber.java:39)	at rx.observers.SafeSubscriber.onNext(SafeSubscriber.java:139)	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.PostListViewModel$1.invoke(PostListViewModel.kt:30)	at y2k.joyreactor.viewmodel.PostListViewModel$1.invoke(PostListViewModel.kt:13)	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)	at rx.internal.schedulers.ExecutorScheduler$ExecutorSchedulerWorker.run(ExecutorScheduler.java:104)	at android.os.Handler.handleCallback(Handler.java:815)	at android.os.Handler.dispatchMessage(Handler.java:104)	at android.os.Looper.loop(Looper.java:194)	at android.app.ActivityThread.main(ActivityThread.java:5631)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)