Post

Replies

Boosts

Views

Activity

Fatal Exception: NSInvalidArgumentException -[NSCountableTextLocation compare:] receiving unmatching type (null)
Hi, We are getting a lot of these crashes in our app. Not really pointing to any screen, hard to figure out where the problem is! Please help with some pointers to figure out and solve this issue. Its happening in PROD and affecting mostly iOS 16 users. Complete stacktrace is attached. Fatal Exception: NSInvalidArgumentException 0 CoreFoundation 0x92d1c __exceptionPreprocess 1 libobjc.A.dylib 0x14ee4 objc_exception_throw 2 CoreFoundation 0xe5f08 __CFDictionaryCreateGeneric 3 UIFoundation 0x1c090 -[NSCountableTextLocation compare:] 4 UIKitCore 0x208b0 -[_UIModernTextLayoutController comparePosition:toPosition:] 5 UIKitCore 0x2080c -[UITextInputController comparePosition:toPosition:] 6 UIKitCore 0x2044c -[UIFieldEditor comparePosition:toPosition:] 7 UIKitCore 0x203b8 -[UITextField comparePosition:toPosition:] 8 UIKitCore 0x10728f4 -[UITextInteractionAssistant(UITextInteractionAssistant_Internal) scheduleChineseTransliteration] 9 UIKitCore 0x10a9b88 -[UITextField _transliterateChinese:] 10 UIKitCore 0xdbd47c +[UIPasteboard _performAsDataOwnerForAction:responder:block:] 11 UIKitCore 0xad1fb8 -[UICalloutBar buttonPressed:] 12 UIKitCore 0xad0bc8 -[UICalloutBarButton fadeAndSendActionWithAuthenticationMessage:] 13 Foundation 0x34b40 __NSFireDelayedPerform 14 CoreFoundation 0xa7268 CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION 15 CoreFoundation 0x30b08 __CFRunLoopDoTimer 16 CoreFoundation 0x2b6c0 __CFRunLoopDoTimers 17 CoreFoundation 0xb3b4 __CFRunLoopRun 18 CoreFoundation 0x1e250 CFRunLoopRunSpecific 19 GraphicsServices 0x1988 GSEventRunModal 20 UIKitCore 0x4e5a94 -[UIApplication _run] 21 UIKitCore 0x27efd4 UIApplicationMain 22 EssoProd 0x2b08c main + 15 (AppDelegate.swift:15) 23 ??? 0x1054b44d0 (Missing) stacktrace copy.txt
1
0
629
Aug ’23