Last Updated:
22 Nov 2024 04:45
by Isaac
Created by:
Isaac
Comments:
Category:
UI for Xamarin
Type:
Bug Report
Foundation.MonoTouchException
Message=Objective-C exception thrown. Name: NSInternalInconsistencyException Reason: Expected dequeued view to be returned to the collection view in preparation for display. When the collection view's data source is asked to provide a view for a given index path, ensure that a single view is dequeued and returned to the collection view. Avoid dequeuing views without a request from the collection view. For retrieving an existing view in the collection view, use -[UICollectionView cellForItemAtIndexPath:] or -[UICollectionView supplementaryViewForElementKind:atIndexPath:]. Dequeued view: <Telerik_XamarinForms_DataControlsRenderer_iOS_ListView_UIListViewGroupHeaderCell: 0x7f9abcf816d0; baseClass = UICollectionViewCell; frame = (0 0; 402 684.667); alpha = 0; gestureRecognizers = <NSArray: 0x6000013bdbb0>; backgroundColor = <UIDynamicProviderColor: 0x600005bfa0c0; provider = <__NSMallocBlock__: 0x600001f18600>>; layer = <CALayer: 0x6000058a3140>>; Collection view: <TKCollectionView: 0x7f9ab9841000; baseClass = UICollectionView; frame = (0 0; 402 684.667); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x600001ca79c0>; backgroundColor = UIExtendedGrayColorSpace 0 0; layer = <CALayer: 0x600005a0cbc0>; contentOffset: {0, 0}; contentSize: {402, 646.33333333333326}; adjustedContentInset: {0, 0, 0, 0}; layout: <TKListViewLinearLayout: 0x7f9abe069fa0>; dataSource: <Telerik_XamarinForms_DataControlsRenderer_iOS_TKExtendedListView: 0x7f9ab7908580; frame = (0 0; 402 684.667); backgroundColor = UIExtendedSRGBColorSpace 1 1 1 1; layer = <CALayer: 0x60000180dae0>>>
Native stack trace:
0 CoreFoundation 0x000000010d06d369 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x0000000117eb4106 objc_exception_throw + 62
2 Foundation 0x000000011a8c56a8 _userInfoForFileAndLine + 0
3 UIKitCore 0x00000001479bcb16 __43-[UICollectionView _updateVisibleCellsNow:]_block_invoke.1279 + 164
4 UIKitCore 0x0000000148603c7f -[_UICollectionViewSubviewManager removeAllDequeuedViewsWithEnumerator:] + 256
5 UIKitCore 0x00000001479bc46b -[UICollectionView _updateVisibleCellsNow:] + 5618
6 UIKitCore 0x00000001479bc530 -[UICollectionView _updateVisibleCellsNow:] + 5815
7 UIKitCore 0x00000001479c351d -[UICollectionView layoutSubviews] + 352
8 ClickOnCommunityApp.iOS 0x0000000102956cc3 -[TKCollectionView layoutSubviews] + 51
9 UIKitCore 0x0000000148d6364f -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2742
10 QuartzCore 0x000000011dc8aec7 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 525
11 QuartzCore 0x000000011dc971a3 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 67
12 QuartzCore 0x000000011dbaf2f1 _ZN2CA7Context18commit_transactionEPNS_11TransactionEdPd + 731
13 QuartzCore 0x000000011dbe9b1a _ZN2CA11Transaction6commitEv + 728
14 QuartzCore 0x000000011dbeb06e _ZN2CA11Transaction25flush_as_runloop_observerEb + 60
15 UIKitCore 0x000000014860b3fe _UIApplicationFlushCATransaction + 57
16 UIKitCore 0x00000001484f2d42 __setupUpdateSequence_block_invoke_2 + 437
17 UIKitCore 0x00000001477b738c _UIUpdateSequenceRun + 55
18 UIKitCore 0x00000001484f267f schedulerStepScheduledMainSection + 165
19 UIKitCore 0x00000001484f17a4 runloopSourceCallback + 68
20 CoreFoundation 0x000000010cfcc91e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
21 CoreFoundation 0x000000010cfcc860 __CFRunLoopDoSource0 + 157
22 CoreFoundation 0x000000010cfcc065 __CFRunLoopDoSources0 + 203
23 CoreFoundation 0x000000010cfc6774 __CFRunLoopRun + 960
24 CoreFoundation 0x000000010cfc5fb3 CFRunLoopRunSpecific + 536
25 GraphicsServices 0x00000001335f80cb GSEventRunModal + 137
26 UIKitCore 0x000000014860cc3b -[UIApplication _run] + 875
27 UIKitCore 0x0000000148611b7c UIApplicationMain + 123
28 ClickOnCommunityApp.iOS 0x0000000102f42c6a xamarin_UIApplicationMain + 58
29 ??? 0x000000019d15febe 0x0 + 6930431678
On iOS 18.0 Grouped listview crash
Source=Xamarin.iOS
StackTrace:
at ObjCRuntime.Runtime.ThrowNSException (System.IntPtr ns_exception) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/16.4.0.23/src/Xamarin.iOS/ObjCRuntime/Runtime.cs:459
at ObjCRuntime.Runtime.throw_ns_exception (System.IntPtr exc) [0x00000] in /Users/builder/azdo/_work/1/s/xamarin-macios/runtime/Delegates.generated.cs:277
at (wrapper native-to-managed) ObjCRuntime.Runtime.throw_ns_exception(intptr)
at (wrapper managed-to-native) UIKit.UIApplication.xamarin_UIApplicationMain(int,intptr,intptr,intptr,intptr&)
at UIKit.UIApplication.UIApplicationMain (System.Int32 argc, System.String[] argv, System.IntPtr principalClassName, System.IntPtr delegateClassName) [0x00008] in /Library/Frameworks/Xamarin.iOS.framework/Versions/16.4.0.23/src/Xamarin.iOS/UIKit/UIApplication.cs:58
at UIKit.UIApplication.Main (System.String[] args, System.Type principalClass, System.Type delegateClass) [0x0003b] in /Library/Frameworks/Xamarin.iOS.framework/Versions/16.4.0.23/src/Xamarin.iOS/UIKit/UIApplication.cs:94
at ClickOnCommunityApp.iOS.Application.Main (System.String[] args) [0x00007] in C:\Sources\ClickOn\MobileCommunityGIT\ClickOnCommunityApp\ClickOnCommunityApp\ClickOnCommunityApp.iOS\Main.cs:13