Error:
{ObjCRuntime.ObjCException: Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Invalid batch updates detected: the number of sections and/or items returned by the data source before and after performing the batch updates are inconsistent with the updates.
Data source before updates = { 3 sections with item counts: [30, 6, 2] }
Data source after updates = { 3 sections with item counts: [30, 6, 2] }
Updates = [
Insert item (0 - 15),
Insert item (0 - 16),
Insert item (0 - 17),
Insert item (0 - 18),
Insert item (0 - 19),
Insert item (0 - 20),
Insert item (0 - 21),
Insert item (0 - 22),
Insert item (0 - 23),
Insert item (0 - 24),
Insert item (0 - 25),
Insert item (0 - 26),
Insert item (0 - 27),
Insert item (0 - 28),
Insert item (0 - 29),
Insert item (1 - 3),
Insert item (1 - 4),
Insert item (1 - 5),
Insert item (2 - 1)
]
Collection view: <TKCollectionView: 0x1237b3200; baseClass = UICollectionView; frame = (0 0; 350 400); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600000d933c0>; backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x60000435c160>; contentOffset: {0, 0}; contentSize: {350, 1365.6666666666667}; adjustedContentInset: {0, 0, 0, 0}; layout: <TKListViewLinearLayout: 0x1329186b0>; dataSource: <Telerik_Maui_Controls_Compatibility_DataControlsRenderer_iOS_TKExtendedListView: 0x123e59480; frame = (0 0; 350 400); hidden = YES; backgroundColor = UIExtendedSRGBColorSpace 1 1 1 1; layer = <CALayer: 0x60000435c420>>>
Native stack trace:
0 CoreFoundation 0x00000001804b70ec __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000018008ede8 objc_exception_throw + 72
2 Foundation 0x0000000180e73aa8 _userInfoForFileAndLine + 0
3 UIKitCore 0x00000001851c27a8 -[UICollectionView _Bug_Detected_In_Client_Of_UICollectionView_Invalid_Batch_Updates:] + 92
4 UIKitCore 0x00000001851c2118 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:] + 10296
5 UIKitCore 0x00000001851beb18 -[UICollectionView _updateRowsAtIndexPaths:updateAction:updates:] + 448
6 UIKitCore 0x00000001851bec74 -[UICollectionView insertItemsAtIndexPaths:] + 52
7 InbrosApp 0x000000010432733c -[TKCollectionView insertItemsAtIndexPaths:] + 124
8 InbrosApp 0x0000000104318dcc __38-[TKListView insertItemsAtIndexPaths:]_block_invoke + 68
9 UIKitCore 0x0000000186012478 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 496
10 UIKitCore 0x0000000186012a70 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:animations:] + 48
11 InbrosApp 0x0000000104318d14 -[TKListView insertItemsAtIndexPaths:] + 308
12 libxamarin-dotnet-debug.dylib 0x00000001053f4c9c xamarin_dyn_objc_msgSendSuper + 164
13 libmonosgen-2.0.dylib 0x0000000105bf4abc do_icall + 200
14 libmonosgen-2.0.dylib 0x0000000105bf33d0 do_icall_wrapper + 356
15 libmonosgen-2.0.dylib 0x0000000105be7e20 mono_interp_exec_method + 2836
16 libmonosgen-2.0.dylib 0x0000000105be5088 interp_entry_from_trampoline + 548
17 InbrosApp 0x0000000104345a18 native_to_interp_trampoline + 104
18 libdispatch.dylib 0x0000000180178de0 _dispatch_client_callout + 16
19 libdispatch.dylib 0x0000000180187c60 _dispatch_main_queue_drain + 1272
20 libdispatch.dylib 0x0000000180187758 _dispatch_main_queue_callback_4CF + 40
21 CoreFoundation 0x000000018041ae3c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
22 CoreFoundation 0x0000000180415534 __CFRunLoopRun + 1944
23 CoreFoundation 0x0000000180414960 CFRunLoopRunSpecific + 536
24 GraphicsServices 0x0000000190183b10 GSEventRunModal + 160
25 UIKitCore 0x0000000185aa2b40 -[UIApplication _run] + 796
26 UIKitCore 0x0000000185aa6d38 UIApplicationMain + 124
27 libxamarin-dotnet-debug.dylib 0x00000001053aff00 xamarin_UIApplicationMain + 60
28 libmonosgen-2.0.dylib 0x0000000105bf4b30 do_icall + 316
29 libmonosgen-2.0.dylib 0x0000000105bf33d0 do_icall_wrapper + 356
30 libmonosgen-2.0.dylib 0x0000000105be7e20 mono_interp_exec_method + 2836
31 libmonosgen-2.0.dylib 0x0000000105be59c0 interp_runtime_invoke + 244
32 libmonosgen-2.0.dylib 0x0000000105afec64 mono_jit_runtime_invoke + 1116
33 libmonosgen-2.0.dylib 0x0000000105cb9d10 mono_runtime_invoke_checked + 148
34 libmonosgen-2.0.dylib 0x0000000105cc12f0 mono_runtime_exec_main_checked + 116
35 libmonosgen-2.0.dylib 0x0000000105b52eec mono_jit_exec + 364
36 libxamarin-dotnet-debug.dylib 0x00000001053f3b00 xamarin_main + 2320
37 InbrosApp 0x000000010435d0c0 main + 72
38 dyld 0x0000000104771410 start_sim + 20
39 ??? 0x00000001044b2274 0x0 + 4367000180
at TelerikUI.TKListView.InsertItems(NSIndexPath[] indexPaths)
at Telerik.Maui.Controls.Compatibility.DataControlsRenderer.iOS.ListViewBatchUpdates.ApplyChanges()
at Telerik.Maui.Controls.Compatibility.DataControlsRenderer.iOS.TKExtendedListView.<ScheduleBatchUpdates>b__44_0()
at Microsoft.Maui.Dispatching.Dispatcher.<>c__DisplayClass10_0.<DispatchDelayedImplementation>b__0()
at CoreFoundation.DispatchQueue.static_dispatcher_to_managed(IntPtr context) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/CoreFoundation/Dispatch.cs:line 379
at UIKit.UIApplication.UIApplicationMain(Int32 , String[] , IntPtr , IntPtr ) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:line 58
at UIKit.UIApplication.Main(String[] , Type , Type ) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:line 94
at InbrosApp.Program.Main(String[] args) in /Users/carminamoreno/Documents/GitHub/Inbros/InbrosApp/Platforms/iOS/Program.cs:line 13
Native stack trace:
0 CoreFoundation 0x00000001804b70ec __exceptionPreprocess + 172
1 libobjc.A.dylib 0x000000018008ede8 objc_exception_throw + 72
2 Foundation 0x0000000180e73aa8 _userInfoForFileAndLine + 0
3 UIKitCore 0x00000001851c27a8 -[UICollectionView _Bug_Detected_In_Client_Of_UICollectionView_Invalid_Batch_Updates:] + 92
4 UIKitCore 0x00000001851c2118 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:] + 10296
5 UIKitCore 0x00000001851beb18 -[UICollectionView _updateRowsAtIndexPaths:updateAction:updates:] + 448
6 UIKitCore 0x00000001851bec74 -[UICollectionView insertItemsAtIndexPaths:] + 52
7 InbrosApp 0x000000010432733c -[TKCollectionView insertItemsAtIndexPaths:] + 124
8 InbrosApp 0x0000000104318dcc __38-[TKListView insertItemsAtIndexPaths:]_block_invoke + 68
9 UIKitCore 0x0000000186012478 +[UIView(UIViewAnimationWithBlocks) _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] + 496
10 UIKitCore 0x0000000186012a70 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:animations:] + 48
11 InbrosApp 0x0000000104318d14 -[TKListView insertItemsAtIndexPaths:] + 308
12 libxamarin-dotnet-debug.dylib 0x00000001053f4c9c xamarin_dyn_objc_msgSendSuper + 164
13 libmonosgen-2.0.dylib 0x0000000105bf4abc do_icall + 200
14 libmonosgen-2.0.dylib 0x0000000105bf33d0 do_icall_wrapper + 356
15 libmonosgen-2.0.dylib 0x0000000105be7e20 mono_interp_exec_method + 2836
16 libmonosgen-2.0.dylib 0x0000000105be5088 interp_entry_from_trampoline + 548
17 InbrosApp 0x0000000104345a18 native_to_interp_trampoline + 104
18 libdispatch.dylib 0x0000000180178de0 _dispatch_client_callout + 16
19 libdispatch.dylib 0x0000000180187c60 _dispatch_main_queue_drain + 1272
20 libdispatch.dylib 0x0000000180187758 _dispatch_main_queue_callback_4CF + 40
21 CoreFoundation 0x000000018041ae3c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
22 CoreFoundation 0x0000000180415534 __CFRunLoopRun + 1944
23 CoreFoundation 0x0000000180414960 CFRunLoopRunSpecific + 536
24 GraphicsServices 0x0000000190183b10 GSEventRunModal + 160
25 UIKitCore 0x0000000185aa2b40 -[UIApplication _run] + 796
26 UIKitCore 0x0000000185aa6d38 UIApplicationMain + 124
27 libxamarin-dotnet-debug.dylib 0x00000001053aff00 xamarin_UIApplicationMain + 60
28 libmonosgen-2.0.dylib 0x0000000105bf4b30 do_icall + 316
29 libmonosgen-2.0.dylib 0x0000000105bf33d0 do_icall_wrapper + 356
30 libmonosgen-2.0.dylib 0x0000000105be7e20 mono_interp_exec_method + 2836
31 libmonosgen-2.0.dylib 0x0000000105be59c0 interp_runtime_invoke + 244
32 libmonosgen-2.0.dylib 0x0000000105afec64 mono_jit_runtime_invoke + 1116
33 libmonosgen-2.0.dylib 0x0000000105cb9d10 mono_runtime_invoke_checked + 148
34 libmonosgen-2.0.dylib 0x0000000105cc12f0 mono_runtime_exec_main_checked + 116
35 libmonosgen-2.0.dylib 0x0000000105b52eec mono_jit_exec + 364
36 libxamarin-dotnet-debug.dylib 0x00000001053f3b00 xamarin_main + 2320
37 InbrosApp 0x000000010435d0c0 main + 72
38 dyld 0x0000000104771410 start_sim + 20
39 ??? 0x00000001044b2274 0x0 + 4367000180
}