Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.paypal.pyplcheckout.home.view.activities.PYPLHomeActivity}: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment com.paypal.android.platform.authsdk.splitlogin.ui.SplitLoginFragment: could not find Fragment constructor
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4169)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
at android.os.Handler.dispatchMessage(Handler.java:106)
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)
Caused by androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment com.paypal.android.platform.authsdk.splitlogin.ui.SplitLoginFragment: could not find Fragment constructor
at androidx.fragment.app.Fragment.instantiate(SourceFile:8)
at androidx.fragment.app.FragmentContainer.instantiate()
at androidx.fragment.app.FragmentManager$3.instantiate(:17)
at androidx.fragment.app.FragmentStateManager.<init>(SourceFile:12)
at androidx.fragment.app.FragmentManager.restoreSaveState(SourceFile:109)
at androidx.fragment.app.Fragment.restoreChildFragmentState(SourceFile:13)
at androidx.fragment.app.Fragment.onCreate(SourceFile:4)
at com.paypal.pyplcheckout.home.view.BaseFragment.onCreate(SourceFile:1)
at androidx.fragment.app.Fragment.performCreate(SourceFile:27)
at androidx.fragment.app.FragmentStateManager.create(SourceFile:50)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(SourceFile:121)
at androidx.fragment.app.FragmentStore.moveToExpectedState(SourceFile:31)
at androidx.fragment.app.FragmentManager.moveToState(SourceFile:57)
at androidx.fragment.app.FragmentManager.dispatchStateChange(SourceFile:10)
at androidx.fragment.app.FragmentManager.dispatchCreate(SourceFile:12)
at androidx.fragment.app.FragmentController.dispatchCreate(:4)
at androidx.fragment.app.FragmentActivity.onCreate(SourceFile:13)
at com.paypal.pyplcheckout.home.view.BaseActivity.onCreate(SourceFile:3)
at com.paypal.pyplcheckout.home.view.activities.PYPLHomeActivity.onCreate(SourceFile:1)
at android.app.Activity.performCreate(Activity.java:8591)
at android.app.Activity.performCreate(Activity.java:8570)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
at android.os.Handler.dispatchMessage(Handler.java:106)
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)
Caused by java.lang.NoSuchMethodException: com.paypal.android.platform.authsdk.splitlogin.ui.SplitLoginFragment.<init> []
at java.lang.Class.getConstructor0(Class.java:2363)
at java.lang.Class.getConstructor(Class.java:1759)
at androidx.fragment.app.Fragment.instantiate(SourceFile:4)
at androidx.fragment.app.FragmentContainer.instantiate()
at androidx.fragment.app.FragmentManager$3.instantiate(:17)
at androidx.fragment.app.FragmentStateManager.<init>(SourceFile:12)
at androidx.fragment.app.FragmentManager.restoreSaveState(SourceFile:109)
at androidx.fragment.app.Fragment.restoreChildFragmentState(SourceFile:13)
at androidx.fragment.app.Fragment.onCreate(SourceFile:4)
at com.paypal.pyplcheckout.home.view.BaseFragment.onCreate(SourceFile:1)
at androidx.fragment.app.Fragment.performCreate(SourceFile:27)
at androidx.fragment.app.FragmentStateManager.create(SourceFile:50)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(SourceFile:121)
at androidx.fragment.app.FragmentStore.moveToExpectedState(SourceFile:31)
at androidx.fragment.app.FragmentManager.moveToState(SourceFile:57)
at androidx.fragment.app.FragmentManager.dispatchStateChange(SourceFile:10)
at androidx.fragment.app.FragmentManager.dispatchCreate(SourceFile:12)
at androidx.fragment.app.FragmentController.dispatchCreate(:4)
at androidx.fragment.app.FragmentActivity.onCreate(SourceFile:13)
at com.paypal.pyplcheckout.home.view.BaseActivity.onCreate(SourceFile:3)
at com.paypal.pyplcheckout.home.view.activities.PYPLHomeActivity.onCreate(SourceFile:1)
at android.app.Activity.performCreate(Activity.java:8591)
at android.app.Activity.performCreate(Activity.java:8570)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4150)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
at android.os.Handler.dispatchMessage(Handler.java:106)
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)
Describe the bug App crashes when paying
To Reproduce
Expected behavior Fragment will be recreated when memory is insufficient Screenshots
Smartphone (please complete the following information):
Additional context