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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web380

  • via GitHub by konifar
    ,
  • Stack trace

    • 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 at com.squareup.otto.Bus.throwRuntimeException(Bus.java:456) at com.squareup.otto.Bus.dispatch(Bus.java:386) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: 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) ... 13 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    balajivaishnavbalajivaishnav
    25 times, last one
    Unknown visitor
    Unknown visitorOnce,
    filpgamefilpgame
    13 times, last one
    gamebusterzgamebusterz
    Once,
    49 more bugmates