java.lang.IllegalStateException: Must be called from the main thread. Was: Thread[RxIoScheduler-2,5,main]

Stack Overflow | Dev | 3 months ago
  1. 0

    How to implement search feature with SearchView, Retrofit and RxJava (RxBindings)?

    Stack Overflow | 3 months ago | Dev
    java.lang.IllegalStateException: Must be called from the main thread. Was: Thread[RxIoScheduler-2,5,main]
  2. 0

    RxAndroid and RxBinding Must be called from the main thread on EditText

    Stack Overflow | 6 months ago | EGHDK
    java.lang.IllegalStateException: Must be called from the main thread. Was: Thread[RxIoScheduler-2,5,main]
  3. 0

    Combine RxTextView Observable and Retrofit Observable

    Stack Overflow | 10 months ago | Sven
    java.lang.IllegalStateException: Must be called from the main thread. Was: Thread[RxCachedThreadScheduler-1,5,main]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android error: recreate() must be called from main thread

    Stack Overflow | 2 years ago | Bart Hofma
    java.lang.IllegalStateException: Must be called from main thread
  6. 0

    GitHub comment 119#137488279

    GitHub | 1 year ago | xfumihiro
    java.lang.IllegalStateException: Expected no more events but got OnError[java.lang.IllegalStateException: Must be called from the main thread. Was: Thread[Instr: com.jakewharton.rxbinding.RxBindingTestRunner,5,main]]

    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.IllegalStateException

      Must be called from the main thread. Was: Thread[RxIoScheduler-2,5,main]

      at com.jakewharton.rxbinding.internal.Preconditions.checkUiThread()
    2. com.jakewharton.rxbinding
      SearchViewQueryTextChangesOnSubscribe.call
      1. com.jakewharton.rxbinding.internal.Preconditions.checkUiThread(Preconditions.java:35)
      2. com.jakewharton.rxbinding.support.v7.widget.SearchViewQueryTextChangesOnSubscribe.call(SearchViewQueryTextChangesOnSubscribe.java:18)
      3. com.jakewharton.rxbinding.support.v7.widget.SearchViewQueryTextChangesOnSubscribe.call(SearchViewQueryTextChangesOnSubscribe.java:10)
      3 frames