java.lang.RuntimeException: Could not dispatch event: class com.auth0.lock.event.IdentityProviderAuthenticationRequestEvent to handler [EventHandler public void com.auth0.lock.LockActivity.onIdentityProviderAuthentication(com.auth0.lock.event.IdentityProviderAuthenticationRequestEvent)]: You need to use a Theme.AppCompat theme (or descendant) with this activity.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by pmq
, 1 year ago
Could not dispatch event: class com.auth0.lock.event.IdentityProviderAuthenticationRequestEvent to handler [EventHandler public void com.auth0.lock.LockActivity.onIdentityProviderAuthentication(com.auth0.lock.event.IdentityProviderAuthenticationRequestEvent)]: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via Stack Overflow by Marcel
, 2 years ago
Could not dispatch event: class <package>.event.user.UserPushTaskDoneEvent to handler [EventHandler public volatile void <package>.connection.synchronization.ReportManager.onUpdateTaskDoneEvent(<package>.event.PushTaskDoneEvent)]
via GitHub by lorique
, 1 year ago
Could not dispatch event: class net.lorique.killfeed.storage.event.StorageKillmailEvent to handler [EventHandler public void net.lorique.killfeed.fragments.user.KillmailFragment.onKillmailLoaded(net.lorique.killfeed.storage.event.StorageKillmailEvent)]: Attempt to invoke virtual method 'java.lang.Object java.util.ArrayList.get(int)' on a null object reference
via Stack Overflow by iambmelton
, 2 years ago
Could not dispatch event: class &lt;omitted&gt;.LoadExternalUrlEvent to handler [EventHandler public void &lt;omitted&gt;Activity.onLoadExternalUrlEvent(&lt;omitted&gt;LoadExternalUrlEvent)]: Can not perform this action after onSaveInstanceState
via GitHub by passiondroid
, 1 year ago
Could not dispatch event: class org.fossasia.openevent.events.TracksDownloadEvent to handler [EventHandler public void org.fossasia.openevent.fragments.TracksFragment.onTrackDownloadDone(org.fossasia.openevent.events.TracksDownloadEvent)]: Attempt to invoke virtual method 'void android.support.v4.widget.SwipeRefreshLayout.setRefreshing(boolean)' on a null object reference
via GitHub by joielechong
, 3 months ago
Could not dispatch event: class com.me.rapidapp.api.managers.events.common.NotInternetEvent to handler [EventHandler public void com.me.rapidapp.ui.common.AbstractFragmentActivity$ApiErrorHandler.onNoInternetEvent(com.me.rapidapp.api.managers.events.common.NotInternetEvent)]: null
java.lang.RuntimeException: Could not dispatch event: class com.auth0.lock.event.IdentityProviderAuthenticationRequestEvent to handler [EventHandler public void com.auth0.lock.LockActivity.onIdentityProviderAuthentication(com.auth0.lock.event.IdentityProviderAuthenticationRequestEvent)]: You need to use a Theme.AppCompat theme (or descendant) with this activity.
at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:343)
at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:312)
at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:277)
at android.support.v7.app.AppCompatDialog.setContentView(AppCompatDialog.java:80)
at android.support.v7.app.AlertController.installContent(AlertController.java:214)
at android.app.Dialog.dispatchOnCreate(Dialog.java:394)
at android.app.Dialog.show(Dialog.java:295)
at com.auth0.google.GoogleIdentityProvider.onPermissionsRequireExplanation(GoogleIdentityProvider.java:97)
at com.auth0.identity.AuthorizedIdentityProvider.checkPermissions(AuthorizedIdentityProvider.java:156)
at com.auth0.identity.AuthorizedIdentityProvider.start(AuthorizedIdentityProvider.java:72)
at com.auth0.lock.LockActivity.onIdentityProviderAuthentication(LockActivity.java:296)
at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)
at com.squareup.otto.Bus.dispatch(Bus.java:384)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
468 times, 10 months ago
Once, 11 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.