Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

CreditCardUtils: NumberFormatException: For input string: "[..]" #22607

Closed
pocmo opened this issue Nov 26, 2021 · 3 comments
Closed

CreditCardUtils: NumberFormatException: For input string: "[..]" #22607

pocmo opened this issue Nov 26, 2021 · 3 comments
Labels
🐞 bug Crashes, Something isn't working, .. cc-autofill Autofill credit card needs:triage Issue needs triage

Comments

@pocmo
Copy link
Contributor

pocmo commented Nov 26, 2021

https://sentry.prod.mozaws.net/operations/firefox-nightly/issues/15404388/?referrer=github_plugin

NumberFormatException: For input string: "[see bug report]"
    at java.lang.Integer.parseInt(Integer.java:615)
    at java.lang.Integer.parseInt(Integer.java:650)
    at mozilla.components.support.utils.CreditCardUtilsKt.creditCardIIN(CreditCardUtils.kt:17)
    at com.google.android.material.internal.ContextUtils.toCreditCard(ContextUtils.java:7)
    at mozilla.components.browser.engine.gecko.prompt.GeckoPromptDelegate$onCreditCardSave$1.invoke(GeckoPromptDelegate.kt:4)
...
(16 additional frame(s) were not displayed)

For input string: "[see bug report]"

┆Issue is synchronized with this Jira Task

@pocmo pocmo added cc-autofill Autofill credit card 🐞 bug Crashes, Something isn't working, .. labels Nov 26, 2021
@github-actions github-actions bot added the needs:triage Issue needs triage label Nov 26, 2021
@pocmo pocmo changed the title NumberFormatException: For input string: "[..]" CreditCardUtils: NumberFormatException: For input string: "[..]" Nov 26, 2021
@pocmo
Copy link
Contributor Author

pocmo commented Nov 29, 2021

CC @gabrielluong

@julienw
Copy link

julienw commented Dec 1, 2021

There's a STR in #22651.

@Amejia481
Copy link
Contributor

Amejia481 commented Dec 7, 2021

Addressed on mozilla-mobile/android-components@09eb7d1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Crashes, Something isn't working, .. cc-autofill Autofill credit card needs:triage Issue needs triage
Projects
None yet
Development

No branches or pull requests

3 participants