ShakeS
Shake
Jan 19

[iOS SDK] Crash if ticket receives wrong reported time

Stack trace: ``` Fatal Exception: NSInvalidArgumentException *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[3] Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x990fc __exceptionPreprocess 1 libobjc.A.dylib 0x15d64 objc_exception_throw 2 CoreFoundation 0x1a2564 -[__NSCFString characterAtIndex:].cold.1 3 CoreFoundation 0x1ad6e0 -[__NSPlaceholderDictionary initWithCapacity:].cold.1 4 CoreFoundation 0x56514 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] 5 CoreFoundation 0x74ebc +[NSDictionary dictionaryWithObjects:forKeys:count:] 6 Shake 0xdf274 -[SHKTicket adaptToDatabaseRecord] + 105 (SHKTicket.m:105) 7 Shake 0x2e284 -[SHKSqliteDatabase insertDatabaseRecord:] + 474 (SHKSqliteDatabase.m:474) 8 Shake 0x2ec84 -[SHKSqliteDatabase bulkInsertDatabaseRecords:] + 561 (SHKSqliteDatabase.m:561) 9 Shake 0x95644 __34-[SHKChatService fetchUserTickets]_block_invoke + 130 (SHKChatService.m:130) 10 libdispatch.dylib 0x2924 _dispatch_call_block_and_release 11 libdispatch.dylib 0x4670 _dispatch_client_callout 12 libdispatch.dylib 0xbdf4 _dispatch_lane_serial_drain 13 libdispatch.dylib 0xc968 _dispatch_lane_invoke 14 libdispatch.dylib 0x171b8 _dispatch_workloop_worker_thread 15 libsystem_pthread.dylib 0x10f4 _pthread_wqthread 16 libsystem_pthread.dylib 0xe94 start_wqthread ```
CompletedCompleted

Mar 2, 2022

Hey. This issue should be resolved in the latest release, please update to the latest iOS SDK - [v15.1.2](https://shakebugs.com/docs/ios/releases/#1512).