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

online crash caused by paypal sdk #104

Closed
HuixingWong opened this issue Apr 26, 2022 · 12 comments
Closed

online crash caused by paypal sdk #104

HuixingWong opened this issue Apr 26, 2022 · 12 comments
Labels

Comments

@HuixingWong
Copy link

Before you create a new issue, please search for similar issues. It's possible somebody has encountered this bug already. PLEASE REMOVE THIS LINE TO ACKNOWLEDGE THAT AN ISSUE DOESN'T ALREADY EXIST FOR THIS BUG

Describe the bug

Fatal Exception: java.util.NoSuchElementException Collection contains no element matching the predicate. com.paypal.pyplcheckout.addshipping.AddressAutoCompleteViewModel.getCountryPositionOnList (AddressAutoCompleteViewModel.kt:370) com.paypal.pyplcheckout.addressbook.view.customviews.PayPalNewShippingAddressSearchView.initViews (PayPalNewShippingAddressSearchView.kt:156) com.paypal.pyplcheckout.addressbook.view.customviews.PayPalNewShippingAddressSearchView.access$initViews (PayPalNewShippingAddressSearchView.kt:62) com.paypal.pyplcheckout.addressbook.view.customviews.PayPalNewShippingAddressSearchView$initViews$1.onTouch (PayPalNewShippingAddressSearchView.kt:141)

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Android Version: [e.g. API 30]
  • Device: [e.g. Emulator or One Plus 9]
  • Browser [e.g. chrome, safari] <- only applicable for app switches or fallback situations
  • SDK Version [e.g. 0.1.0]

Additional context
Add any other context about the problem here.

@saperi22
Copy link
Collaborator

saperi22 commented May 4, 2022

Hi @HuixingWong, please provide detailed steps to reproduce the error.

Also, please fill in the details to better assist us finding and fixing the bug you are seeing.

@HuixingWong
Copy link
Author

sdk version : 0.6.0

device : Galaxy A52s 5G

Os version : android 12

I can't reproduce this because this is a crash report by firebase.

By the way, all of the crashes in our app now come from the paypal SDK.
截屏2022-05-04 09 43 55

this is one more new crash form PayPal sdk.

maybe you guys should test on more device and system versions device before release the sdk

@sterlingann
Copy link

@saperi22 Do you mind following up on this one please?

@saperi22
Copy link
Collaborator

saperi22 commented Sep 8, 2022

@HuixingWong we'll be looking at these issues in the coming days. I'll provide you with an update once they are identified and fixed.

@HuixingWong
Copy link
Author

Thanks. By the way, is Paypal hiring? Our company is closed last month 😂

@saperi22
Copy link
Collaborator

saperi22 commented Sep 8, 2022

@HuixingWong You can find the current job openings at https://careers.pypl.com/home/default.aspx
You should be able to search for jobs based on your career aspirations and location preferences.

@HuixingWong
Copy link
Author

@saperi22 Thanks again !

@saperi22
Copy link
Collaborator

saperi22 commented Sep 30, 2022

A fix for NoSuchElementException was merged in today. It missed to make it to the immediate next release, however, it should be included in the following release.
Thanks for reporting the bug.

@HuixingWong
Copy link
Author

Hello is this fix released ?

@saperi22
Copy link
Collaborator

@HuixingWong no, the fix has not been released yet.
I'll provide you with an update once I know more about when it is going to make it to a release.

@HuixingWong
Copy link
Author

@HuixingWong no, the fix has not been released yet. I'll provide you with an update once I know more about when it is going to make it to a release.

👌, thanks

@saperi22
Copy link
Collaborator

This should be now fixed in https://github.com/paypal/android-checkout-sdk/releases/tag/v0.112.0.

I'll close this ticket. Please open a new ticket if you see other issues.

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

3 participants