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

Fennec Mobile crashes on selecting credit card number input field #25706

Closed
rubankopli opened this issue Jun 21, 2022 · 5 comments
Closed

Fennec Mobile crashes on selecting credit card number input field #25706

rubankopli opened this issue Jun 21, 2022 · 5 comments
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info cc-autofill Autofill credit card needs:triage Issue needs triage

Comments

@rubankopli
Copy link

rubankopli commented Jun 21, 2022

Fennec Mobile consistently crashes upon selecting any credit card input field

e61c821d-9f71-4331-aee8-f5b192b698a0
java.lang.NumberFormatException: For input string: "******"

java.lang.NumberFormatException: For input string: "******"
at java.lang.Integer.parseInt(Integer.java:604)
at java.lang.Integer.parseInt(Integer.java:650)
at mozilla.components.support.utils.CreditCardUtilsKt.creditCardIIN(CreditCardUtils.kt:17)
at mozilla.components.browser.engine.gecko.prompt.GeckoPromptDelegate$onCreditCardSelect$1.invoke(GeckoPromptDelegate.kt:15)
at mozilla.components.support.base.observer.ObserverRegistry.notifyObservers(ObserverRegistry.kt:4)
at mozilla.components.concept.engine.EngineSession.notifyObservers(Unknown Source:7)
at mozilla.components.browser.engine.gecko.prompt.GeckoPromptDelegate.onCreditCardSelect(GeckoPromptDelegate.kt:4)
at org.mozilla.geckoview.PromptController$CreditCardSelectHandler.callDelegate(PromptController.java:2)
at org.mozilla.geckoview.PromptController$CreditCardSelectHandler.callDelegate(PromptController.java:1)
at org.mozilla.geckoview.PromptController.getResponse(PromptController.java:6)
at org.mozilla.geckoview.PromptController.handleEvent(PromptController.java:6)
at org.mozilla.geckoview.GeckoSession$Listener.handleMessage(GeckoSession.java:6)
at org.mozilla.gecko.EventDispatcher$3.run(EventDispatcher.java:1)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)

┆Issue is synchronized with this Jira Task

@github-actions github-actions bot added the needs:triage Issue needs triage label Jun 21, 2022
@amedyne
Copy link
Contributor

amedyne commented Jun 21, 2022

@almightyyoda2012 Can you share what build version you are using and encountering this issue with?

@mcarare mcarare added b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info cc-autofill Autofill credit card labels Jun 22, 2022
@kbrosnan
Copy link
Contributor

Can you reproduce this crash on Firefox? We don't build the Fennec F-Droid APK. https://forum.f-droid.org/

@rubankopli
Copy link
Author

rubankopli commented Jun 24, 2022 via email

@rubankopli
Copy link
Author

rubankopli commented Oct 11, 2022 via email

@csadilek
Copy link
Contributor

Build #931020

Yes, that makes sense. This bug was fixed in Fenix 96, so a build based on 93 would have this crash:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
b:crash Crashes Fenix: should link to Sentry, Crash-Stats or GPlay info cc-autofill Autofill credit card needs:triage Issue needs triage
Projects
None yet
Development

No branches or pull requests

5 participants