You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
App crashing when "Allow Google Location History" dialogue pops up.
Even though the exception occurs when a Google Maps package dialogue appears, the stack trace refers to a method in flutter-amazonpaymentservices and when i remove this package the error goes away.
D/AndroidRuntime(32260): Shutting down VM
E/AndroidRuntime(32260): FATAL EXCEPTION: main
E/AndroidRuntime(32260): Process: ae.lml.lml_mobile_app, PID: 32260
E/AndroidRuntime(32260): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=4097, result=-1, data=Intent { (has extras) }} to activity {ae.lml.lml_mobile_app/ae.lml.lml_mobile_app.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.payfort.fortpaymentsdk.callbacks.FortCallBackManager.onActivityResult(int, int, android.content.Intent)' on a null object reference
E/AndroidRuntime(32260):
at android.app.ActivityThread.deliverResults(ActivityThread.java:4960 undefined)
E/AndroidRuntime(32260):
at android.app.ActivityThread.handleSendResult(ActivityThread.java:5001 undefined)
E/AndroidRuntime(32260):
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51 undefined)
E/AndroidRuntime(32260):
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135 undefined)
E/AndroidRuntime(32260):
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95 undefined)
E/AndroidRuntime(32260):
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2047 undefined)
E/AndroidRuntime(32260):
at android.os.Handler.dispatchMessage(Handler.java:107 undefined)
E/AndroidRuntime(32260):
at android.os.Looper.loop(Looper.java:224 undefined)
E/AndroidRuntime(32260):
at android.app.ActivityThread.main(ActivityThread.java:7592 undefined)
E/AndroidRuntime(32260):
at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(32260):
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539 undefined)
E/AndroidRuntime(32260):
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950 undefined)
E/AndroidRuntime(32260): Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'boolean com.payfort.fortpaymentsdk.callbacks.FortCallBackManager.onActivityResult(int, int, android.content.Intent)' on a null object reference
E/AndroidRuntime(32260):
at com.amazon.flutter_amazonpaymentservices.FlutterAmazonpaymentservicesPlugin.lambda$onAttachedToActivity$1(FlutterAmazonpaymentservicesPlugin.java:98 undefined)
E/AndroidRuntime(32260):
at com.amazon.flutter_amazonpaymentservices.FlutterAmazonpaymentservicesPlugin$ExternalSyntheticLambda0.onActivityResult(Unknown Source:0)
E/AndroidRuntime(32260):
at io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEngineConnectionRegistry.java:807 undefined)
E/AndroidRuntime(32260):
at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onActivityResult(FlutterEngineConnectionRegistry.java:430 undefined)
E/AndroidRuntime(32260):
at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:811 undefined)
E/AndroidRuntime(32260):
at io.flutter.embedding.android.FlutterActivity.onActivityResult(FlutterActivity.java:771 undefined)
E/AndroidRuntime(32260):
at android.app.Activity.dispatchActivityResult(Activity.java:8249 undefined)
E/AndroidRuntime(32260):
at android.app.ActivityThread.deliverResults(ActivityThread.java:4953 undefined)
E/AndroidRuntime(32260): ... 11 more
I/Process (32260): Sending signal. PID: 32260 SIG: 9
Lost connection to device.
The text was updated successfully, but these errors were encountered:
Problem:
App crashing when "Allow Google Location History" dialogue pops up.
Even though the exception occurs when a Google Maps package dialogue appears, the stack trace refers to a method in flutter-amazonpaymentservices and when i remove this package the error goes away.
The text was updated successfully, but these errors were encountered: