Closed
Description
Description
Crash removing item from CarouselView.
NOTE: Using 8.0.5 RC1.
Steps to Reproduce
- Download or sync https://github.com/rachelkang/recipeSearch
- Launch the App on Android.
- Add a new recipe to your list.
- Navigate back to your recipe list.
- Select the added recipe and then tap the remove button.
Link to public reproduction project repository
https://github.com/rachelkang/recipeSearch
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 13
Did you find any workaround?
No response
Relevant log output
0xFFFFFFFFFFFFFFFF in Android.Runtime.RuntimeNativeMethods.monodroid_debugger_unhandled_exception C#
0x1A in Android.Runtime.JNINativeWrapper._unhandled_exception at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:13,5 C#
0x1D in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:27,26 C#
0x8 in System.ThrowHelper.ThrowArgumentOutOfRange_IndexMustBeLessException C#
0x9 in System.Collections.Generic.List<object>.get_Item C#
0x2 in System.Collections.Generic.List<object>.System.Collections.IList.get_Item C#
0x11 in Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.ElementAt at D:\a\_work\1\s\src\Controls\src\Core\Handlers\Items\Android\ItemsSources\ObservableItemsSource.cs:228,5 C#
0x8 in Microsoft.Maui.Controls.Handlers.Items.ObservableItemsSource.GetItem at D:\a\_work\1\s\src\Controls\src\Core\Handlers\Items\Android\ItemsSources\ObservableItemsSource.cs:67,4 C#
0x4F in Microsoft.Maui.Controls.Handlers.Items.MauiCarouselRecyclerView.SetCurrentItem at D:\a\_work\1\s\src\Controls\src\Core\Handlers\Items\Android\MauiCarouselRecyclerView.cs:456,4 C#
0xC in Microsoft.Maui.Controls.Handlers.Items.MauiCarouselRecyclerView. at D:\a\_work\1\s\src\Controls\src\Core\Handlers\Items\Android\MauiCarouselRecyclerView.cs:264,7 C#
0x6 in Microsoft.Maui.Dispatching.Dispatcher. at D:\a\_work\1\s\src\Core\src\Dispatching\Dispatcher.Android.cs:24,24 C#
0xE in Java.Lang.Thread.RunnableImplementor.Run at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:36,6 C#
0x8 in Java.Lang.IRunnableInvoker.n_Run at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/obj/Release/net8.0/android-34/mcw/Java.Lang.IRunnable.cs:84,4 C#
0x8 in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:26,5 C#
Metadata
Assignees
Type
Projects
Status
Done