java.lang.RuntimeException: Could not dispatch event: class com.auth0.core.Application to handler [EventHandler public void com.auth0.lock.LockActivity.onApplicationLoaded(com.auth0.core.Application)]: Can not perform this action after onSaveInstanceState

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

Solutions on the web

via GitHub by steffandroid
, 1 year ago
Could not dispatch event: class com.auth0.core.Application to handler [EventHandler public void com.auth0.lock.LockActivity.onApplicationLoaded(com.auth0.core.Application)]: Can not perform this action after onSaveInstanceState
via Stack Overflow by iambmelton
, 2 years ago
Could not dispatch event: class <omitted>.LoadExternalUrlEvent to handler [EventHandler public void <omitted>Activity.onLoadExternalUrlEvent(<omitted>LoadExternalUrlEvent)]: Can not perform this action after onSaveInstanceState
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 GitHub by cpg
, 7 months ago
Could not dispatch event: class org.amahi.anywhere.bus.FileMetadataRetrievedEvent to handler [EventHandler public void org.amahi.anywhere.adapter.ServerFilesMetadataAdapter.onFileMetadataRetrieved(org.amahi.anywhere.bus.FileMetadataRetrievedEvent)]: You cannot start a load for a destroyed activity
via GitHub by gogeta95
, 1 year ago
Could not dispatch event: class org.fossasia.openevent.events.CounterEvent to handler [EventHandler public void org.fossasia.openevent.activities.MainActivity.onCounterReceiver(org.fossasia.openevent.events.CounterEvent)]: Invalid index 0, size is 0
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1489)
at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1507)
at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:634)
at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:613)
at com.auth0.lock.LockActivity.onApplicationLoaded(LockActivity.java:195)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.squareup.otto.EventHandler.handleEvent(EventHandler.java:89)
at com.squareup.otto.Bus.dispatch(Bus.java:384)
at com.squareup.otto.Bus.dispatchQueuedEvents(Bus.java:367)
at com.squareup.otto.Bus.post(Bus.java:336)
at com.auth0.lock.fragment.LoadingFragment$2.onSuccess(LoadingFragment.java:71)
at com.auth0.lock.fragment.LoadingFragment$2.onSuccess(LoadingFragment.java:67)
at com.auth0.api.internal.BaseRequest$1.run(BaseRequest.java:86)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

Users with the same issue

Once, 8 months ago
7 times, 9 months ago
78 times, 10 months ago
Once, 1 year ago
2 times, 1 year ago

Write tip

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