Skip to content

ConcurrentModificationException in RxJavaPlugins.getPluginImplementationViaProperty #3749

Closed
@niqo01

Description

@niqo01

I am using RxJava 1.1.1 on Android and getting the following error:

Caused by java.util.ConcurrentModificationException
       at java.util.Hashtable$HashIterator.nextEntry(Hashtable.java:727)
       at java.util.Hashtable$EntryIterator.next(Hashtable.java:778)
       at java.util.Hashtable$EntryIterator.next(Hashtable.java:776)
       at rx.plugins.RxJavaPlugins.getPluginImplementationViaProperty(RxJavaPlugins.java:177)
       at rx.plugins.RxJavaPlugins.getSchedulersHook(RxJavaPlugins.java:232)
       at rx.schedulers.Schedulers.(Schedulers.java)
       at rx.schedulers.Schedulers.(Schedulers.java)

My code is

unreadConversationsServer = unreadConversations;
      final Scheduler.Worker worker = Schedulers.io().createWorker();
      worker.schedule(() -> {
        try {
          computeUnreadUnSyncedConversationCount();
        } catch (Exception e) {
          Timber.e(e, "Error while computing Unread Unsynced Conversation Count");
        }
        worker.unsubscribe();
      });

Full detail here: http://crashes.to/s/4ecb8083b7f

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions