Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Login prompt #111

Open
xserxses opened this issue Jul 24, 2024 · 0 comments
Open

Crash on Login prompt #111

xserxses opened this issue Jul 24, 2024 · 0 comments

Comments

@xserxses
Copy link
Contributor

Fatal Exception: java.lang.IllegalStateException: FragmentManager has been destroyed
       at androidx.fragment.app.FragmentManager.enqueueAction(FragmentManager.java:1825)
       at androidx.fragment.app.BackStackRecord.commitInternal(BackStackRecord.java:341)
       at androidx.fragment.app.BackStackRecord.commit(BackStackRecord.java:306)
       at androidx.fragment.app.DialogFragment.show(DialogFragment.java:502)
       at com.schibsted.account.webflows.loginPrompt.LoginPromptManager.showLoginPromptIfAbsent(LoginPromptManager.kt:30)
       at com.schibsted.account.webflows.client.Client.requestLoginPrompt(Client.kt:360)
       at com.schibsted.publishing.hermes.simplifiedlogin.AppStartSimplifiedLoginPromptInitializer.init(AppStartSimplifiedLoginPromptInitializer.kt:26)
       at com.schibsted.publishing.hermes.newsfeedweb.NewsfeedWebFragment$launchAppStartSimplifiedLoginPrompt$1.invokeSuspend(NewsfeedWebFragment.kt:318)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
       at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
       at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
       at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
       at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
       at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
        

Occurs on different devices while using login prompt. Allowing state loss when showing this dialog should be easiest solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant