-
Notifications
You must be signed in to change notification settings - Fork 38
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 when tapping the PayPal button without internet connection #217
Comments
03-14 21:32:22.547 766 9861 E AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher |
i have the same problem |
sdk version:1.3.0 also have the same problem... |
i have the same problem version:1.3.0 |
Describe the bug
If I tap on the PayPal button without an active internet connection it will crash
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application should not crash
Smartphone (please complete the following information):
Additional context
Crash log:
FATAL EXCEPTION: OkHttp Dispatcher Process: com.festool.apps.consumables.qa, PID: 12050 java.lang.NullPointerException: config.checkoutBaseActivity must not be null at com.paypal.pyplcheckout.utils.PYPLCheckoutUtils.fallBackToWeb(PYPLCheckoutUtils.kt:444) at com.paypal.pyplcheckout.utils.PYPLCheckoutUtils.fallbackIndefinite(PYPLCheckoutUtils.kt:406) at com.paypal.pyplcheckout.utils.PYPLCheckoutUtils.fallBack(PYPLCheckoutUtils.kt:372) at com.paypal.pyplcheckout.utils.PYPLCheckoutUtils.fallBack$default(PYPLCheckoutUtils.kt:363) at com.paypal.pyplcheckout.services.callbacks.CancelUrlCallback.cancelUrlFailProtocol(CancelUrlCallback.kt:44) at com.paypal.pyplcheckout.services.callbacks.CancelUrlCallback.onApiError(CancelUrlCallback.kt:21) at com.paypal.pyplcheckout.services.callbacks.BaseCallback.handleApiError(BaseCallback.kt:92) at com.paypal.pyplcheckout.services.callbacks.BaseCallback.onFailure(BaseCallback.kt:42) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:525) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:923)
The text was updated successfully, but these errors were encountered: