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 in sendTopRecord #20

Open
ovejka opened this issue Sep 12, 2016 · 0 comments
Open

Crash in sendTopRecord #20

ovejka opened this issue Sep 12, 2016 · 0 comments

Comments

@ovejka
Copy link

ovejka commented Sep 12, 2016

We get numerous crashes because of this code:

- (void)sendTopRecord
{
    // Assemble the full query string by prepending the current baseUrl as last archived.
    NSString *nextAPICall = [[KMAArchiver sharedArchiver] getBaseUrl];
    nextAPICall = [nextAPICall stringByAppendingString:[[KMAArchiver sharedArchiver] getQueryStringAtIndex:0]];
    ...
}

-[KMAArchiver getQueryStringAtIndex:] returns nil in some cases and appending nil-string to nextAPICall crashes.

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

1 participant