xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.64k stars 1.88k forks source link

[Bug] iOS: SIGABRT: Object reference not set to an instance of an object. #15674

Open filyjunior opened 1 year ago

filyjunior commented 1 year ago

Description

I have a crash reported from App Center, it seems the problem is with the CarouselViewController. I can't reproduce it in my development environment. It only happens on the iPad device.

Steps to Reproduce

ItemsViewController1[TItemsView].UpdateTemplatedCell (Xamarin.Forms.Platform.iOS.TemplatedCell cell, Foundation.NSIndexPath indexPath) ItemsViewController1[TItemsView].GetCell (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath) CarouselViewController.GetCell (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath) (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr) UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) Application.Main (System.String[] args)

Error.txt

Expected Behavior

should not crash

Actual Behavior

Application.Main (System.String[] args) SIGABRT: Object reference not set to an instance of an object.

Basic Information

Environment

Show/Hide Visual Studio info ``` ```

Build Logs

Screenshots

Reproduction Link

Workaround