Title: Crash with a wrong OTP code input · Issue #145 · PaystackHQ/paystack-android · GitHub
Open Graph Title: Crash with a wrong OTP code input · Issue #145 · PaystackHQ/paystack-android
X Title: Crash with a wrong OTP code input · Issue #145 · PaystackHQ/paystack-android
Description: Problem/Motivation Crash when the user put a wrong OTP input code. Stacktrace E/AndroidRuntime: FATAL EXCEPTION: main java.lang.NullPointerException at android.content.res.XmlBlock.nativeGetStyleAttribute(Native Method) at android.conten...
Open Graph Description: Problem/Motivation Crash when the user put a wrong OTP input code. Stacktrace E/AndroidRuntime: FATAL EXCEPTION: main java.lang.NullPointerException at android.content.res.XmlBlock.nativeGetStyleAt...
X Description: Problem/Motivation Crash when the user put a wrong OTP input code. Stacktrace E/AndroidRuntime: FATAL EXCEPTION: main java.lang.NullPointerException at android.content.res.XmlBlock.nativeGetStyleAt...
Opengraph URL: https://github.com/PaystackHQ/paystack-android/issues/145
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash with a wrong OTP code input","articleBody":"# Problem/Motivation\r\nCrash when the user put a wrong OTP input code.\r\nStacktrace\r\n```\r\nE/AndroidRuntime: FATAL EXCEPTION: main\r\n java.lang.NullPointerException\r\n at android.content.res.XmlBlock.nativeGetStyleAttribute(Native Method)\r\n at android.content.res.XmlBlock.access$1500(XmlBlock.java:41)\r\n at android.content.res.XmlBlock$Parser.getStyleAttribute(XmlBlock.java:459)\r\n at android.content.res.Resources$Theme.getExplicitStyle(Resources.java:1937)\r\n at android.view.View.retrieveExplicitStyle(View.java:7009)\r\n at android.view.View.\u003cinit\u003e(View.java:5893)\r\n at android.view.ViewGroup.\u003cinit\u003e(ViewGroup.java:715)\r\n at android.widget.LinearLayout.\u003cinit\u003e(LinearLayout.java:254)\r\n at android.widget.LinearLayout.\u003cinit\u003e(LinearLayout.java:250)\r\n at android.widget.LinearLayout.\u003cinit\u003e(LinearLayout.java:246)\r\n at co.paystack.android.design.widget.Indicator.\u003cinit\u003e(Indicator.java:59)\r\n at co.paystack.android.design.widget.PinPadView.createIndicators(PinPadView.java:481)\r\n at co.paystack.android.design.widget.PinPadView.setPinLength(PinPadView.java:432)\r\n at co.paystack.android.ui.OtpActivity$1.onPinChanged(OtpActivity.java:40)\r\n at co.paystack.android.design.widget.PinPadView.updatePin(PinPadView.java:470)\r\n at co.paystack.android.design.widget.PinPadView.access$200(PinPadView.java:51)\r\n at co.paystack.android.design.widget.PinPadView$1.onButtonClick(PinPadView.java:533)\r\n at co.paystack.android.design.widget.PinPadButton.dispatchTouchEvent(PinPadButton.java:234)\r\n at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3920)\r\n at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:3594)\r\n```\r\n## Repeatable\r\nAlways\r\n\r\n## Steps to repeat:\r\n1. Go to the payment screen\r\n2. Use this test card number `507850785078507804` (PIN + Phone + OTP validation)\r\n3. Fill the expiry and CVV inputs \r\n4. put the pin code (0000)\r\n5. put any wrong OTP code\r\n\r\n## Expected Results:\r\nat least an error message\r\n\r\n## Actual Results:\r\nThe app crashes\r\n\r\n## Recrod\r\n\r\nhttps://user-images.githubusercontent.com/10960959/203558345-7819c52d-c5ab-421b-9327-35061df5180b.mp4\r\n\r\n\r\n","author":{"url":"https://github.com/OHoussein","@type":"Person","name":"OHoussein"},"datePublished":"2022-11-23T13:15:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/145/paystack-android/issues/145"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:02e3704d-c689-77b1-ec44-ffd7ac57ec90 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A13A:12CA95:27E0CCD:34F1751:69806B97 |
| html-safe-nonce | fbc2455136cd1da1f5f075c29704b49f32f935d226036f9872be5056cf5968b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTNBOjEyQ0E5NToyN0UwQ0NEOjM0RjE3NTE6Njk4MDZCOTciLCJ2aXNpdG9yX2lkIjoiNzYxNzI5NDA0NTA2MDAzMzQzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 08ef334fe4b4f1085247b5d4e798a5f9fa178641e45bd2c024860d6681a25c69 |
| hovercard-subject-tag | issue:1461746343 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PaystackHQ/paystack-android/145/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a7679d934c88aa47071b75158ef2e181ed23aca1cba9531d4832f80acfbc55e6/PaystackHQ/paystack-android/issues/145 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a7679d934c88aa47071b75158ef2e181ed23aca1cba9531d4832f80acfbc55e6/PaystackHQ/paystack-android/issues/145 |
| og:image:alt | Problem/Motivation Crash when the user put a wrong OTP input code. Stacktrace E/AndroidRuntime: FATAL EXCEPTION: main java.lang.NullPointerException at android.content.res.XmlBlock.nativeGetStyleAt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | OHoussein |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0959b1a93ca48b0c88b3bddbdfd04ca43f388cb1a8293105a28c5ef6e8079db8 |
| turbo-cache-control | no-preview |
| go-import | github.com/PaystackHQ/paystack-android git https://github.com/PaystackHQ/paystack-android.git |
| octolytics-dimension-user_id | 14998667 |
| octolytics-dimension-user_login | PaystackHQ |
| octolytics-dimension-repository_id | 43757476 |
| octolytics-dimension-repository_nwo | PaystackHQ/paystack-android |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43757476 |
| octolytics-dimension-repository_network_root_nwo | PaystackHQ/paystack-android |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 78307334c66591a8f87f493dd2968126b34961dd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width