EventBus.register() has thrown an EventBusException

de.greenrobot.event.EventBusException
Javadoc
An {@link RuntimeException} thrown in cases something went wrong inside EventBus. @author Markus
at de.greenrobot.event.EventBus.subscribe
(source)
at de.greenrobot.event.EventBus.register
(source)
at de.greenrobot.event.EventBus.register
(source)

Typical Exception Messages

  1. Subscriber class de.greenrobot.event.test.EventBusMultithreadedTest$SubscribeUnsubscribeThread already registered to event class java.lang.Object
  2. Subscriber class com.thebluealliance.androidclient.subscribers.TeamAtEventSummarySubscriber already registered to event class com.thebluealliance.androidclient.eventbus.EventMatchesEvent
  3. Subscriber class org.wordpress.android.ui.main.MeFragment already registered to event class org.wordpress.android.ui.prefs.PrefsEvents$MyProfileDetailsChanged
  4. Subscriber class in.zinema.android.presenter.FeedEntryPresenter already registered to event class in.zinema.android.view.event.PlaybackEvent
  5. Subscriber class com.hesselapplications.shade.ShadeService already registered to event class com.hesselapplications.shade.EventBus.ColorChangedEvent
  6. Subscriber class org.xbmc.kore.ui.generic.RefreshItem already registered to event class org.xbmc.kore.jsonrpc.event.MediaSyncEvent

Origin

EventBus.register() has thrown an EventBusException

de.greenrobot.event.EventBusException
1 frames hidden
de.greenrobot.event.EventBus.register
6Web pages

Specific cases

Solution

rafael, 1 year ago

Update event bus to 2.2.0 or further.

Check the source of this solution for more info

External results for this pattern (5)

  1. nwhess21via Stack Overflow3 months ago
    Subscriber class com.hesselapplications.shade.ShadeService already registered to event class com.hesselapplications.shade.EventBus.ColorChangedEvent
    Show stack trace
  2. SyncedSynapsevia GitHub1 year ago
    Subscriber class org.xbmc.kore.ui.generic.RefreshItem already registered to event class org.xbmc.kore.jsonrpc.event.MediaSyncEvent
    Show stack trace
  3. sapuglhavia GitHub2 years ago
    Subscriber class org.wordpress.android.ui.main.MeFragment already registered to event class org.wordpress.android.ui.prefs.PrefsEvents$MyProfileDetailsChanged
    Show stack trace
  4. greenrobotvia GitHub2 years ago
    Subscriber class de.greenrobot.event.test.EventBusMultithreadedTest$SubscribeUnsubscribeThread already registered to event class java.lang.Object
    Show stack trace
  5. fangeugenevia GitHub2 years ago
    Subscriber class com.thebluealliance.androidclient.subscribers.TeamAtEventSummarySubscriber already registered to event class com.thebluealliance.androidclient.eventbus.EventMatchesEvent
    Show stack trace