-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.x: IllegalStateException: Disposable already set! #4448
Comments
Thanks for the feedback, there is a state management bugin |
Fixed in #4450. |
Still getting the same error io.reactivex.exceptions.ProtocolViolationException: Disposable already set! subscriptions.add(mWeatherObservableWithNetwork when i remove the subscribeOn and ObserveOn, No exception Using rxjava 2.0.6 |
@bitsydarel Hi and thanks for using RxJava. In order to help you, could you clarify the following:
|
@akarnokd from the github of RxAndroid they suggest to use 2.0.6 : StackTrace : |
Based on the stacktrace of |
That was it, thanks for the help too and for the work, really helping! there was no mention of this behavior in the documentation right? |
It was not mentioned explicitly anywhere. I've created #5148 to track the progress on updating the documentation. |
The provided |
@akarnokd thanks |
The PR #5210 adds documentation about these. |
The below code gives the exception - (IllegalStateException: Disposable already set!):
But when I remove subscribeOn and observeOn like below it works :
The text was updated successfully, but these errors were encountered: