Post

Replies

Boosts

Views

Activity

UITextView Crashes on iOS 17 [NSInternalInconsistencyException attempt to create NSTextRange from nil location
___exceptionPreprocess + 164 1 libobjc.A.dylib _objc_exception_throw + 60 2 Foundation __userInfoForFileAndLine 3 UIFoundation -[NSTextRange initWithLocation:endLocation:] + 468 4 UIFoundation ___70-[NSTextParagraph enumerateSubstringsFromLocation:options:usingBlock:]_block_invoke + 132 5 Foundation -[NSString enumerateSubstringsInRange:options:usingBlock:] + 1592 6 UIFoundation -[NSTextParagraph enumerateSubstringsInRange:options:usingBlock:] + 180 7 UIFoundation -[NSTextParagraph enumerateSubstringsFromLocation:options:usingBlock:] + 300 8 UIFoundation ___74-[NSTextLayoutManager enumerateSubstringsFromLocation:options:usingBlock:]_block_invoke_4 + 332 9 UIFoundation -[NSTextContentStorage enumerateTextElementsFromLocation:options:usingBlock:] + 3908 10 UIFoundation -[NSTextLayoutManager enumerateSubstringsFromLocation:options:usingBlock:] + 196 11 UIKitCore -[_UITextKit2LayoutController rangeOfCharacterClusterAtIndex:type:] + 312 12 UIKitCore -[UITextInputController _rangeForBackwardsDelete] + 104 13 UIKitCore ___39-[UITextInputController deleteBackward]_block_invoke + 120 14 UIKitCore -[UITextInputController _performWhileSuppressingDelegateNotifications:] + 48 15 UIKitCore -[UITextInputController deleteBackward] + 172 16 UIKitCore -[UITextView deleteBackward] + 40 17 UIKitCore -[UIKBInputDelegateManager _deleteBackwardAndNotify:reinsertText:overrideOriginalContextBeforeInputWith:] + 472 18 UIKitCore -[UIKeyboardImpl deleteBackwardAndNotifyAtEnd:deletionCount:reinsertTextInLoop:] + 248 19 UIKitCore -[UIKeyboardImpl performKeyboardOutput:checkingDelegate:forwardToRemoteInputSource:] + 1424 20 UIKitCore -[UIKeyboardImpl performKeyboardOutput:forwardToRemoteInputSource:] + 32 21 UIKitCore ___77-[UIKeyboardImpl _processInputViewControllerKeyboardOutput:executionContext:]_block_invoke + 480 22 UIKitCore -[UIKeyboardImpl _performKeyboardOutput:respectingForwardingDelegate:] + 252 23 UIKitCore -[UIKeyboardImpl _processInputViewControllerKeyboardOutput:executionContext:] + 168 24 UIKitCore -[UIKeyboardImpl performOperations:withTextInputSource:] + 56 25 UIKitCore ___67-[UIKeyboardImpl(UIKitInternal) _performInputViewControllerOutput:]_block_invoke + 168 26 UIKitCore -[UIKeyboardTaskEntry execute:] + 208 27 UIKitCore -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 324 28 Foundation ___NSThreadPerformPerform + 264 29 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 30 CoreFoundation ___CFRunLoopDoSource0 + 176 31 CoreFoundation ___CFRunLoopDoSources0 + 244 32 CoreFoundation ___CFRunLoopRun + 828 33 CoreFoundation _CFRunLoopRunSpecific + 608 34 GraphicsServices _GSEventRunModal + 164 35 UIKitCore -[UIApplication _run] + 888 36 UIKitCore _UIApplicationMain + 340
7
2
1.3k
Nov ’23