Crash IndexOutOfRangeException `RadCollectionView+ScrollIndexIntoViewCore`

1 Answer 17 Views
CollectionView
Andrey
Top achievements
Rank 1
Iron
Andrey asked on 10 Nov 2025, 06:00 AM | edited on 10 Nov 2025, 06:49 AM

Hi. During the scroll into view  (easy to repro with more or less large lists) the user can affect the RadCollectionView ItemsSource applying the search filter as DelegateFilterDescriptor and IFilter as a function. We would like to know the way how to synchronize both processes or cancel the scrolling.

Or would be good to make scroll into view as async.

ScrollItemIntoView(item, false)

The following crash happened:

System.IndexOutOfRangeException

Message: Arg_IndexOutOfRangeException
Telerik.Maui.Data.IndexStorage.ValueForIndex(Int32 index, Boolean approximate)
Telerik.Maui.Controls.RadCollectionView+<ScrollIndexIntoView>d__170.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
Telerik.Maui.Controls.RadCollectionView+<>c__DisplayClass168_0+<<ScrollIndexIntoViewCore>b__0>d.MoveNext()
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Threading.Tasks.Task+<>c.<ThrowAsync>b__128_0(Object state)
Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0()
Java.Lang.Thread+RunnableImplementor.Run()
Java.Lang.IRunnableInvoker.n_Run(IntPtr jnienv, IntPtr native__this)
Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V(_JniMarshal_PP_V callback, IntPtr jnienv, IntPtr klazz)


1 Answer, 1 is accepted

Sort by
-1
Didi
Telerik team
answered on 13 Nov 2025, 09:51 AM

Hi Andrey,

I tested a scenario with delegate filter and scroll to an item and cannot reproduce the exception on Android.

Next Steps:

Open a support ticket and attach a sample demo where the issue occurs. Then I can research the case further.

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
CollectionView
Asked by
Andrey
Top achievements
Rank 1
Iron
Answers by
Didi
Telerik team
Share this question
or