0 0 0 0 0 0 0 0 0 0 0 0 0 1 2022-01-25 21:40:40.840052+0300 Kursvalut[30790:8651851] *** Assertion failure in -[UITableView _Bug_Detected_In_Client_Of_UITableView_Invalid_Number_Of_Rows_In_Section:], UITableView.m:2584 2022-01-25 21:40:40.840424+0300 Kursvalut[30790:8651851] [error] fault: Serious application error. An exception was caught from the delegate of NSFetchedResultsController during a call to -controllerDidChangeContent:. Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (0), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). Table view: <UITableView: 0x7faf44845a00; frame = (0 0; 414 896); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600003e192f0>; layer = <CALayer: 0x600003015b20>; contentOffset: {0, -144}; contentSize: {414, 38}; adjustedContentInset: {144, 0, 83, 0}; dataSource: <Kursvalut.ConverterTableViewController: 0x7faf4511a660>> with userInfo { NSAssertFile = "UITableView.m"; NSAssertLine = 2584; } CoreData: fault: Serious application error. An exception was caught from the delegate of NSFetchedResultsController during a call to -controllerDidChangeContent:. Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (0), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). Table view: <UITableView: 0x7faf44845a00; frame = (0 0; 414 896); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600003e192f0>; layer = <CALayer: 0x600003015b20>; contentOffset: {0, -144}; contentSize: {414, 38}; adjustedContentInset: {144, 0, 83, 0}; dataSource: <Kursvalut.ConverterTableViewController: 0x7faf4511a660>> with userInfo { NSAssertFile = "UITableView.m"; NSAssertLine = 2584; } 2022-01-25 21:40:40.842673+0300 Kursvalut[30790:8651851] [error] CoreData: Serious application error. An exception was caught from the delegate of NSFetchedResultsController during a call to -controllerDidChangeContent:. Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (0), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). Table view: <UITableView: 0x7faf44845a00; frame = (0 0; 414 896); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600003e192f0>; layer = <CALayer: 0x600003015b20>; contentOffset: {0, -144}; contentSize: {414, 38}; adjustedContentInset: {144, 0, 83, 0}; dataSource: <Kursvalut.ConverterTableViewController: 0x7faf4511a660>> with userInfo { NSAssertFile = "UITableView.m"; NSAssertLine = 2584; } 2022-01-25 21:40:40.843046+0300 Kursvalut[30790:8651851] [error] error: Serious application error. Exception was caught during Core Data change processing. This is usually a bug within an observer of NSManagedObjectContextObjectsDidChangeNotification. Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (0), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). Table view: <UITableView: 0x7faf44845a00; frame = (0 0; 414 896); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600003e192f0>; layer = <CALayer: 0x600003015b20>; contentOffset: {0, -144}; contentSize: {414, 38}; adjustedContentInset: {144, 0, 83, 0}; dataSource: <Kursvalut.ConverterTableViewController: 0x7faf4511a660>> with userInfo { NSAssertFile = "UITableView.m"; NSAssertLine = 2584; } CoreData: error: Serious application error. Exception was caught during Core Data change processing. This is usually a bug within an observer of NSManagedObjectContextObjectsDidChangeNotification. Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (0), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). Table view: <UITableView: 0x7faf44845a00; frame = (0 0; 414 896); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600003e192f0>; layer = <CALayer: 0x600003015b20>; contentOffset: {0, -144}; contentSize: {414, 38}; adjustedContentInset: {144, 0, 83, 0}; dataSource: <Kursvalut.ConverterTableViewController: 0x7faf4511a660>> with userInfo { NSAssertFile = "UITableView.m"; NSAssertLine = 2584; } 2022-01-25 21:40:40.850074+0300 Kursvalut[30790:8651851] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (0), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). Table view: <UITableView: 0x7faf44845a00; frame = (0 0; 414 896); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600003e192f0>; layer = <CALayer: 0x600003015b20>; contentOffset: {0, -144}; contentSize: {414, 38}; adjustedContentInset: {144, 0, 83, 0}; dataSource: <Kursvalut.ConverterTableViewController: 0x7faf4511a660>>' *** First throw call stack: ( 0 CoreFoundation 0x0000000105442ba4 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00000001031abbe7 objc_exception_throw + 48 2 Foundation 0x0000000103d0faa2 _userInfoForFileAndLine + 0 3 UIKitCore 0x000000010fbe6081 -[UITableView _Bug_Detected_In_Client_Of_UITableView_Invalid_Number_Of_Rows_In_Section:] + 115 4 UIKitCore 0x000000010fbe5658 -[UITableView _endCellAnimationsWithContext:] + 16401 5 UIKitCore 0x000000010fbffb58 -[UITableView endUpdatesWithContext:] + 116 6 Kursvalut 0x0000000102be1044 $s9Kursvalut28ConverterTableViewControllerC26controllerDidChangeContentyySo016NSFetchedResultsE0CySo20NSFetchRequestResult_pGF + 244 7 Kursvalut 0x0000000102be1095 $s9Kursvalut28ConverterTableViewControllerC26controllerDidChangeContentyySo016NSFetchedResultsE0CySo20NSFetchRequestResult_pGFTo + 53 8 CoreData 0x000000010332d7b6 __82-[NSFetchedResultsController(PrivateMethods) _core_managedObjectContextDidChange:]_block_invoke + 8374 9 CoreData 0x00000001032b4732 developerSubmittedBlockToNSManagedObjectContextPerform + 151 10 CoreData 0x00000001032b461c -[NSManagedObjectContext performBlockAndWait:] + 197 11 CoreData 0x000000010332b6ee -[NSFetchedResultsController _core_managedObjectContextDidChange:] + 110 12 CoreFoundation 0x0000000105382f2c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 13 CoreFoundation 0x0000000105382ef2 ___CFXRegistrationPost_block_invoke + 49 14 CoreFoundation 0x0000000105382454 _CFXRegistrationPost + 496 15 CoreFoundation 0x0000000105381d87 _CFXNotificationPost + 806 16 Foundation 0x0000000103d8c9a3 -[NSNotificationCenter postNotificationName:object:userInfo:] + 82 17 CoreData 0x00000001032a39ac -[NSManagedObjectContext _postObjectsDidChangeNotificationWithUserInfo:] + 456 18 CoreData 0x00000001032baece -[NSManagedObjectContext _createAndPostChangeNotification:deletions:updates:refreshes:deferrals:wasMerge:] + 1878 19 CoreData 0x00000001032a5edc -[NSManagedObjectContext _processRecentChanges:] + 4217 20 CoreData 0x00000001032a84f1 -[NSManagedObjectContext save:] + 437 21 Kursvalut 0x0000000102bd78af $s9Kursvalut23CurrencyCoreDataManagerV4saveyyF + 79 22 Kursvalut 0x0000000102bceb89 $s9Kursvalut31PickCurrencyTableViewControllerC05tableE0_14didSelectRowAtySo07UITableE0C_10Foundation9IndexPathVtF + 1705 23 Kursvalut 0x0000000102bcec91 $s9Kursvalut31PickCurrencyTableViewControllerC05tableE0_14didSelectRowAtySo07UITableE0C_10Foundation9IndexPathVtFTo + 129 24 UIKitCore 0x000000010fc049a1 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:isCellMultiSelect:deselectPrevious:] + 1854 25 UIKitCore 0x000000010fc04248 -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 94 26 UIKitCore 0x000000010fc04c64 -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 334 27 UIKitCore 0x000000010ff11a37 -[_UIAfterCACommitBlock run] + 54 28 UIKitCore 0x000000010ff11f17 -[_UIAfterCACommitQueue flush] + 190 29 libdispatch.dylib 0x00000001047bb848 _dispatch_call_block_and_release + 12 30 libdispatch.dylib 0x00000001047bca2c _dispatch_client_callout + 8 31 libdispatch.dylib 0x00000001047cb1f1 _dispatch_main_queue_callback_4CF + 1197 32 CoreFoundation 0x00000001053b084d __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 33 CoreFoundation 0x00000001053ab0aa __CFRunLoopRun + 2772 34 CoreFoundation 0x00000001053aa0f3 CFRunLoopRunSpecific + 567 35 GraphicsServices 0x00000001079e2cd3 GSEventRunModal + 139 36 UIKitCore 0x000000010f9b7f42 -[UIApplication _run] + 928 37 UIKitCore 0x000000010f9bcb5e UIApplicationMain + 101 38 libswiftUIKit.dylib 0x0000000103b89e92 $s5UIKit17UIApplicationMainys5Int32VAD_SpySpys4Int8VGGSgSSSgAJtF + 98 39 Kursvalut 0x0000000102bda5c8 $sSo21UIApplicationDelegateP5UIKitE4mainyyFZ + 104 40 Kursvalut 0x0000000102bda557 $s9Kursvalut11AppDelegateC5$mainyyFZ + 39 41 Kursvalut 0x0000000102bda6a8 main + 24 42 dyld 0x0000000102e53ee9 start_sim + 10 43 ??? 0x0000000112a3d4fe 0x0 + 4607694078 ) libc++abi: terminating with uncaught exception of type NSException dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/igor/Library/Developer/Xcode/DerivedData/Kursvalut-eobwmfehqsbvkbdiatbasqifxlmu/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/igor/Library/Developer/Xcode/DerivedData/Kursvalut-eobwmfehqsbvkbdiatbasqifxlmu/Build/Products/Debug-iphonesimulator *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (0), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out). Table view: <UITableView: 0x7faf44845a00; frame = (0 0; 414 896); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600003e192f0>; layer = <CALayer: 0x600003015b20>; contentOffset: {0, -144}; contentSize: {414, 38}; adjustedContentInset: {144, 0, 83, 0}; dataSource: <Kursvalut.ConverterTableViewController: 0x7faf4511a660>>' terminating with uncaught exception of type NSException CoreSimulator 783.5 - Device: iPhone 11 (C7732B41-E179-4239-B06E-B2104E34EC44) - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 11 (lldb)