DIPSAS/DIPS.Xamarin.UI

[Bug] [iOS] Null Reference Exception when using TrendGraph in a ListView

jonathanrandev opened this issue · 0 comments

Description

Include TrendGraphs in a list view with more items than the height of the screen

StackTrace:
System.NullReferenceException: Object reference not set to an instance of an object
at Xamarin.Forms.Platform.iOS.BoxRenderer.LayoutSubviews () [0x0001b] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Renderers\BoxRenderer.cs:50
at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.20.2.2/src/Xamarin.iOS/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.20.2.2/src/Xamarin.iOS/UIKit/UIApplication.cs:65
at Visit.Mobile.iOS.Application.Main (System.String[] args) [0x00002] in C:\Visit.mobile1\src\Visit.Mobile.iOS\Main.cs:16

Steps to Reproduce

  1. Ensure that there are more trend values in the page than the height of the screen
  2. Scroll the list

Expected Behavior

Actual Behavior

Application crashes as soon as the new items in the list begin to load

Basic Information

  • Version with issue: 6.6.0
  • Xamarin.Forms: 4.8.0.1560
  • Last known good version:

Screenshots

Reproduction Link