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

Crash when adding a card #999

Closed
odedharth opened this issue Jul 17, 2018 · 6 comments
Closed

Crash when adding a card #999

odedharth opened this issue Jul 17, 2018 · 6 comments
Assignees

Comments

@odedharth
Copy link

Summary

There is a fatal exception that is crashing the app for some of our users when adding a credit card.

The error is:

Fatal Exception: NSInternalInconsistencyException
attempt to insert row 0 into section 1, but there are only 1 sections after the update
-[STPAddCardViewController addressViewModel:addedCellAtIndex:]

Happening at:

STPAddCardViewController.m line 362-[STPAddCardViewController addressViewModel:addedCellAtIndex:]

Code to reproduce

It's happening for some of our users in production, and we don't know how to reproduce but we do have the stack trace of the crashes using Crashalytics: https://fabric.io/oded-harths-projects/ios/apps/oded-harth.mdacne/issues/5b1482136007d59fcdd040b0?time=last-ninety-days

iOS version

iOS 11

Installation method

Cocoapods

SDK version

11.5.0

@csabol-stripe
Copy link
Contributor

Hi @odedharth unfortunately I can't seem to access the link you've provided. Would it be possible for you to share a sample stack trace of the crash here?

@csabol-stripe csabol-stripe self-assigned this Jul 17, 2018
@odedharth
Copy link
Author

odedharth commented Jul 17, 2018

@cale-stripe Sorry sent the wrong link: http://crashes.to/s/90e272acb88

@csabol-stripe
Copy link
Contributor

Thanks @odedharth, I think I know what the issue here is. I'll work on a fix

@odedharth
Copy link
Author

@csabol-stripe Any ETA for the fix?

@csabol-stripe
Copy link
Contributor

Fix will go into our next SDK release which is our priority at the moment! :)

@csabol-stripe
Copy link
Contributor

We've just released v13.2.0 that fixes this crash. Thanks for the report and let us know if you run into any other issues!

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

2 participants