[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0] #5323
Labels
bug
Something isn't working
core
Issues related to AWSCore
pending-response
Issue is pending response from the issue requestor
We are using AWS SDK for authentication purpose in our project. Further we are regularly observing fatal crash with the reason mentioned below:
Fatal Exception: NSInvalidArgumentException
*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
Stack Trace
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0xecb28 __exceptionPreprocess
1 libobjc.A.dylib 0x2af78 objc_exception_throw
2 CoreFoundation 0x56898 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]
3 CoreFoundation 0x561b4 +[NSDictionary dictionaryWithObjects:forKeys:count:]
4 AWSAuthCore 0x87e8 (Missing UUID 82924a51cb7e306480fd251f9956680b)
5 AWSCore 0x4f714 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
6 AWSCore 0x4f294 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
7 AWSCore 0x24af0 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
8 AWSCore 0x24f9c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
9 AWSCore 0x4ef5c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
10 AWSCore 0x4eb84 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
11 AWSCore 0x4fc28 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
12 AWSCore 0x4f43c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
13 AWSCore 0x4f330 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
14 AWSCore 0x24af0 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
15 AWSCore 0x24f9c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
16 AWSCore 0x4ef5c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
17 AWSCore 0x4eb84 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
18 AWSCore 0x4fc28 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
19 AWSCore 0x4f43c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
20 AWSCore 0x4f330 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
21 AWSCore 0x24af0 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
22 AWSCore 0x24f9c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
23 AWSCore 0x4ef5c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
24 AWSCore 0x4eb84 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
25 AWSCore 0x4fc28 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
26 AWSCore 0x5b684 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
27 AWSCore 0x4f714 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
28 AWSCore 0x4f294 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
29 AWSCore 0x24af0 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
30 AWSCore 0x24f9c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
31 AWSCore 0x4f12c (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
32 AWSCore 0x4f684 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
33 AWSCore 0x4f788 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
34 AWSCore 0x5a9a0 (Missing UUID bfc5c8ddf66530d1b3b1f5c254d19798)
35 CFNetwork 0x1598c _CFNetworkSetHSTSStoragePath
36 libdispatch.dylib 0x213c _dispatch_call_block_and_release
37 libdispatch.dylib 0x3dd4 _dispatch_client_callout
38 libdispatch.dylib 0xb400 _dispatch_lane_serial_drain
39 libdispatch.dylib 0xbf64 _dispatch_lane_invoke
40 libdispatch.dylib 0x16cb4 _dispatch_root_queue_drain_deferred_wlh
41 libdispatch.dylib 0x16528 _dispatch_workloop_worker_thread
42 libsystem_pthread.dylib 0x1f20 _pthread_wqthread
43 libsystem_pthread.dylib 0x1fc0 start_wqthread
Areas of the SDK you are using (AWSMobileClient, Cognito, Pinpoint, IoT, etc)?
AWSCore
Environment(please complete the following information):
Device Information (please complete the following information):
We recently updated our sdk to 2.31.1 but still the result is same. Please check the issue and let us know how we can fix this.
The text was updated successfully, but these errors were encountered: