Stacktrace for the issue related to SFMCNetworkRequest using sdk v6.4.2

Terminating app due to uncaught exception 'NSGenericException', reason: 'Task created in a session that has been invalidated'

[ADEumNSURLSessionWrapper dataTaskWithRequest:completionHandler:] + 160
[SFMCNetworkRequest dataTask] (SFMCNetworkRequest.m:181)  
[SFMCNetworkRequest performRequestWithCompletionHandler:requestCompletionHandler:] (SFMCNetworkRequest.m:240)  
[MarketingCloudSDKIntelligence sendETAnalytics] (MarketingCloudSDKIntelligence.m:640)
[MarketingCloudSDKIntelligence applicationDidEnterBackgroundNotificationReceived]_block_invoke.344 (MarketingCloudSDKIntelligence.m:485)   
[SFMCTimedDispatcher dispatchWithIdentifier:onQueue:afterTimeInterval:completion:]_block_invoke (SFMCTimedDispatcher.m:59)

This issue was resolved in the 7.x releases of the SDK. Please update to the latest release, v7.1.1 as of 20200519.

  • Updating to latest SDK v7.2.1 didn't fix the issue. Still seeing good number of crashes with the same stacktrace as above. Is there any other suggestion to fix it?
    – nitin
    Aug 16 '20 at 23:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.