wordpress-mobile / WordPress-Android

WordPress for Android
http://android.wordpress.org
GNU General Public License v2.0
2.92k stars 1.3k forks source link

EventBusException: Invoking subscriber failed #20548

Closed sentry-io[bot] closed 1 month ago

sentry-io[bot] commented 1 month ago

Sentry Issue: JETPACK-ANDROID-802

java.lang.IllegalStateException: Already resumed
    at kotlin.coroutines.SafeContinuation.resumeWith(SafeContinuationJvm.kt:44)
    at org.wordpress.android.ui.engagement.GetLikesUseCase.onPostLikesChanged(GetLikesUseCase.kt:206)
    at java.lang.reflect.Method.invoke(Method.java)
    at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:517)
    at org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:461)
    at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:421)
    at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:421)
    at org.greenrobot.eventbus.EventBus.postSingleEvent(EventBus.java:394)
    at org.greenrobot.eventbus.EventBus.post(EventBus.java:275)
    at org.greenrobot.eventbus.EventBus.post(EventBus.java:275)
    at org.wordpress.android.fluxc.Dispatcher.emitChange(Dispatcher.java:42)
    at org.wordpress.android.fluxc.store.Store.emitChange(Store.java:32)
    at org.wordpress.android.fluxc.store.PostStore.handleFetchedPostLikes(PostStore.java:797)
    at org.wordpress.android.fluxc.store.PostStore.onAction(PostStore.java:759)
    at java.lang.reflect.Method.invoke(Method.java)
    at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:517)
    at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:511)
    at org.greenrobot.eventbus.AsyncPoster.run(AsyncPoster.java:46)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    at java.lang.Thread.run(Thread.java:764)
org.greenrobot.eventbus.EventBusException: Invoking subscriber failed
    at org.greenrobot.eventbus.EventBus.handleSubscriberException(EventBus.java:537)
    at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:519)
    at org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:461)
    at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:421)
    at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:421)
    at org.greenrobot.eventbus.EventBus.postSingleEvent(EventBus.java:394)
    at org.greenrobot.eventbus.EventBus.post(EventBus.java:275)
    at org.greenrobot.eventbus.EventBus.post(EventBus.java:275)
    at org.wordpress.android.fluxc.Dispatcher.emitChange(Dispatcher.java:42)
    at org.wordpress.android.fluxc.store.Store.emitChange(Store.java:32)
    at org.wordpress.android.fluxc.store.PostStore.handleFetchedPostLikes(PostStore.java:797)
    at org.wordpress.android.fluxc.store.PostStore.onAction(PostStore.java:759)
    at java.lang.reflect.Method.invoke(Method.java)
    at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:517)
    at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:511)
    at org.greenrobot.eventbus.AsyncPoster.run(AsyncPoster.java:46)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    at java.lang.Thread.run(Thread.java:764)
dangermattic commented 1 month ago

Thanks for reporting! 👍

sentry-io[bot] commented 1 month ago

Sentry Issue: WORDPRESS-ANDROID-1E4S