java.lang.IllegalStateException: Disposable already set!

Stack Overflow | user3550385 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalStateException

    Disposable already set!

    at io.reactivex.internal.disposables.DisposableHelper.reportDisposableSet()
  2. io.reactivex.internal
    SingleCreate.subscribeActual
    1. io.reactivex.internal.disposables.DisposableHelper.reportDisposableSet(DisposableHelper.java:121)
    2. io.reactivex.internal.disposables.DisposableHelper.setOnce(DisposableHelper.java:61)
    3. io.reactivex.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.onSubscribe(SingleSubscribeOn.java:63)
    4. io.reactivex.internal.operators.single.SingleCreate.subscribeActual(SingleCreate.java:36)
    4 frames
  3. io.reactivex
    Single.subscribe
    1. io.reactivex.Single.subscribe(Single.java:2143)
    1 frame
  4. io.reactivex.internal
    SingleSubscribeOn$1.run
    1. io.reactivex.internal.operators.single.SingleSubscribeOn$1.run(SingleSubscribeOn.java:41)
    1 frame
  5. io.reactivex
    Scheduler$1.run
    1. io.reactivex.Scheduler$1.run(Scheduler.java:120)
    1 frame
  6. io.reactivex.internal
    ScheduledRunnable.call
    1. io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:58)
    2. io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:51)
    2 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    2. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    5. java.lang.Thread.run(Thread.java:818)
    5 frames