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

NumberFormatException after failed checkout #134

Open
danielebart opened this issue Jul 7, 2020 · 6 comments
Open

NumberFormatException after failed checkout #134

danielebart opened this issue Jul 7, 2020 · 6 comments

Comments

@danielebart
Copy link

Hello, we have a few crashes with the following ST:

Caused by java.lang.NumberFormatException: s == null
       at java.lang.Integer.parseInt(Integer.java:577)
       at java.lang.Integer.valueOf(Integer.java:801)
       at com.sumup.merchant.controllers.CheckoutFlowController.sendCancelCheckout(SourceFile:184)
       at java.lang.reflect.Method.invoke(Method.java)
       at org.greenrobot.eventbus.EventBus.invokeSubscriber(EventBus.java:507)
       at org.greenrobot.eventbus.EventBus.postToSubscription(EventBus.java:434)
       at org.greenrobot.eventbus.EventBus.postSingleEventForEventType(EventBus.java:411)
       at org.greenrobot.eventbus.EventBus.postSingleEvent(EventBus.java:384)
       at org.greenrobot.eventbus.EventBus.post(EventBus.java:265)
       at com.sumup.merchant.ui.Fragments.MobilePaymentFragment.sendCancelCheckoutRequest(SourceFile:347)
       at com.sumup.merchant.ui.Fragments.MobilePaymentFragment.access$1500(SourceFile:84)
       at com.sumup.merchant.ui.Fragments.MobilePaymentFragment$2.onClick(SourceFile:560)
       at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
       at android.os.Handler.dispatchMessage(Handler.java:107)
       at android.os.Looper.loop(Looper.java:237)
       at android.app.ActivityThread.main(ActivityThread.java:7948)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1075)

From our logs this crash seems to happen after retrying a previously failed payment. In all our crashes we clearly see that there are two attempt to start a payment before this exception is thrown.

SDK Version: 3.2.2
Android Version: we are receiving crashes on Android 9 & 10

@Mike-Lopez
Copy link

@danielebart

I will make a ticket for our developers and come back to you with an update soon.

@Milszym
Copy link

Milszym commented Sep 21, 2020

@Mike-Lopez Hey, have it been already fixed? Can you update us with a progress on this matter?

@Mike-Lopez
Copy link

Mike-Lopez commented Sep 28, 2020 via email

@Milszym
Copy link

Milszym commented Sep 29, 2020

@Mike-Lopez, Hey, thanks for the reply. I'd rather send it via email. Can you give me your email please?

@Mike-Lopez
Copy link

Please email [email protected].

@Milszym
Copy link

Milszym commented Oct 1, 2020

Ok sure, thanks I have emailed you with the data that you have asked for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants