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

Application crashed due to attempt to insert nil object from objects[0] error #3740

Open
bhagwat8024 opened this issue Jul 15, 2024 · 3 comments

Comments

@bhagwat8024
Copy link

  1. Version of Mobile SDK Used: 11.0.0
  2. Issue found in Native App or Hybrid App:Native
  3. OS Version:Any
  4. Device:Any
  5. Error Description: Application crashed with these error logs:-

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Reason: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
Termination Reason: SIGNAL 6 Abort trap: 6

@bcriscuolo
Copy link
Contributor

@wmathurin @brandonpage if you need more context to this. please reach out. SFS-iOS sees similar crashes in SFOauthSessionRefresher completeWithSuccess.

@bbirman
Copy link
Member

bbirman commented Jul 16, 2024

@bhagwat8024 do you have any more logs about where the crash took place? I want to confirm if it's the same as what @bcriscuolo mentioned

@bhagwat8024
Copy link
Author

@bbirman yes we have please have a look into this:-
Last Exception Backtrace:
0 CoreFoundation 0x18cd94f20 __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x184c3e018 objc_exception_throw + 60 (objc-exception.mm:356)
2 CoreFoundation 0x18cd26e6c -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 728 (NSPlaceholderDictionary.m:0)
3 CoreFoundation 0x18cd26a88 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 52 (NSDictionary.m:614)
4 SalesforceSDKCore 0x10760bb3c 0x1075b8000 + 342844
5 libdispatch.dylib 0x194c3813c _dispatch_call_block_and_release + 32 (init.c:1530)
6 libdispatch.dylib 0x194c39dd4 _dispatch_client_callout + 20 (object.m:576)
7 libdispatch.dylib 0x194c485a4 _dispatch_main_queue_drain + 988 (queue.c:7898)
8 libdispatch.dylib 0x194c481b8 _dispatch_main_queue_callback_4CF + 44 (queue.c:8058)
9 CoreFoundation 0x18cd67710 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 (CFRunLoop.c:1780)
10 CoreFoundation 0x18cd64914 __CFRunLoopRun + 1996 (CFRunLoop.c:3149)
11 CoreFoundation 0x18cd63cd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
12 GraphicsServices 0x1d1c141a8 GSEventRunModal + 164 (GSEvent.c:2196)
13 UIKitCore 0x18f39c90c -[UIApplication _run] + 888 (UIApplication.m:3713)
14 UIKitCore 0x18f4509d0 UIApplicationMain + 340 (UIApplication.m:5303)
15 ---** our application ** -- 0x104c849d4 0x10482c000 + 4557268
16 dyld 0x1b0415e4c start + 2240 (dyldMain.cpp:1298)

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