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

Fatal Exception: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState #248

Open
jmic134 opened this issue Jun 20, 2023 · 0 comments
Labels

Comments

@jmic134
Copy link

jmic134 commented Jun 20, 2023

Describe the bug
App crashes when paying

To Reproduce
Unable to know the operation path, but know the jump activity

  1. PYPLInitiateCheckoutActivity
  2. PYPLHomeActivity

Expected behavior

Screenshots

Smartphone (please complete the following information):

  • Android Version: android 10-13
  • Device: any device
  • SDK Version: com.paypal.checkout:android-sdk:0.112.0
  • Crash probability: 2%

Additional context

Fatal Exception: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
       at androidx.fragment.app.FragmentManager.checkStateLoss(SourceFile:12)
       at androidx.fragment.app.FragmentManager.enqueueAction(SourceFile:27)
       at androidx.fragment.app.BackStackRecord.commitInternal(SourceFile:73)
       at androidx.fragment.app.BackStackRecord.commit(:1)
       at com.paypal.pyplcheckout.flavornavigation.ContentRouter.startFragment(SourceFile:35)
       at com.paypal.pyplcheckout.flavornavigation.ContentRouter.gotoFragment(SourceFile:90)
       at com.paypal.pyplcheckout.flavornavigation.ContentRouter.loadNativeAuthFragment$pyplcheckout_externalThreedsRelease(SourceFile:39)
       at com.paypal.pyplcheckout.home.view.activities.PYPLHomeActivity$onResume$1.invoke(SourceFile:2)
       at com.paypal.pyplcheckout.home.view.activities.PYPLHomeActivity$onResume$1.invoke(SourceFile:1)
       at com.paypal.pyplcheckout.flavorauth.ThirdPartyAuthPresenter.onViewPresentRequested(SourceFile:20)
       at com.paypal.android.platform.authsdk.splitlogin.ui.SplitLoginHandler.handleChallenge(SourceFile:224)
       at com.paypal.platform.authsdk.partnerauth.platform.PartnerAuthEngine.b(SourceFile:77)
       at com.paypal.platform.authsdk.partnerauth.platform.PartnerAuthChallengeRouter.f(SourceFile:173)
       at com.paypal.platform.authsdk.partnerauth.platform.PartnerAuthChallengeRouter.h(SourceFile:82)
       at com.paypal.platform.authsdk.partnerauth.platform.PartnerAuthChallengeRouter.c()
       at com.paypal.platform.authsdk.partnerauth.platform.PartnerAuthChallengeRouter$authenticate$1$1$1.invokeSuspend(SourceFile:70)
       at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:12)
       at kotlinx.coroutines.DispatchedTask.run(SourceFile:117)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8757)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant