Welcome to the .NET MAUI feedback portal. We’re happy you’re here! If you have feedback on how to improve the .NET MAUI, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

I have the same crash with version 23.2.4 in .net7 and .net8 

Version 23.1.44 works in .net7

the app is a little îg larger with Data from Rest API. 


I'll try to define a smaller veríon with moccking Data on weekend. 


here is the ex-Massage: 

Unable to cast object of type 'System.Collections.Generic.Dictionary`2[Microsoft.Maui.Controls.BindableProperty,System.ValueTuple`2[System.String,Microsoft.Maui.Controls.SetterSpecificity]]' to type 'System.Collections.Generic.Dictionary`2[Microsoft.Maui.Controls.BindableProperty,System.String]'.


stacktrace: 

  bei Syncfusion.Maui.DataGrid.DataGridRow.get_ImplicitDataGridRowStyle()

   bei Syncfusion.Maui.DataGrid.DataRow.ApplyRowStyle()

   bei Syncfusion.Maui.DataGrid.DataGridRow.OnParentSet()

   bei Microsoft.Maui.Controls.Element.SetParent(Element value)

   bei Microsoft.Maui.Controls.Element.OnChildAdded(Element child)

   bei Microsoft.Maui.Controls.VisualElement.OnChildAdded(Element child)

   bei Syncfusion.Maui.Core.SfView.System.Collections.Generic.ICollection.Add(IView child)

   bei Syncfusion.Maui.DataGrid.VisualContainer.EnsureItems(Boolean needToRefresh)

   bei Syncfusion.Maui.DataGrid.VisualContainer.MeasureContent(Double widthConstraint, Double heightConstraint)

   bei Syncfusion.Maui.Core.SfView.Microsoft.Maui.ILayout.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)

   bei Syncfusion.Maui.Core.Platform.LayoutPanelExt.MeasureOverride(Size availableSize)

   bei Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.MeasureOverride(Size availableSize) in Microsoft.UI.Xaml\FrameworkElement.cs: Zeile697

   bei ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_MeasureOverride_0(IntPtr thisPtr, Size availableSize, Size* result) in ABI.Microsoft.UI.Xaml\IFrameworkElementOverrides.cs: Zeile33

--- Ende der Stapelüberwachung vom vorhergehenden Ort ---

   bei WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)

   bei ABI.Microsoft.UI.Xaml.IUIElementMethods.Measure(IObjectReference _obj, Size availableSize) in ABI.Microsoft.UI.Xaml\IUIElementMethods.cs: Zeile191

   bei Microsoft.UI.Xaml.UIElement.Measure(Size availableSize) in Microsoft.UI.Xaml\UIElement.cs: Zeile1597

   bei Microsoft.Maui.ViewHandlerExtensions.GetDesiredSizeFromHandler(IViewHandler viewHandler, Double widthConstraint, Double heightConstraint)

   bei Microsoft.Maui.Handlers.ViewHandler`2.GetDesiredSize(Double widthConstraint, Double heightConstraint)

   bei Microsoft.Maui.Layouts.LayoutExtensions.ComputeDesiredSize(IView view, Double widthConstraint, Double heightConstraint)

   bei Microsoft.Maui.Controls.VisualElement.MeasureOverride(Double widthConstraint, Double heightConstraint)

   bei Syncfusion.Maui.Core.SfView.MeasureOverride(Double widthConstraint, Double heightConstraint)

   bei Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Measure(Double widthConstraint, Double heightConstraint)

   bei Syncfusion.Maui.DataGrid.DataGridScrollView.OnPropertyChanged(String propertyName)

   bei Microsoft.Maui.Controls.BindableObject.SetValueActual(BindableProperty property, BindablePropertyContext context, Object value, Boolean currentlyApplying, SetValueFlags attributes, SetterSpecificity specificity, Boolean silent)

   bei Microsoft.Maui.Controls.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes, SetterSpecificity specificity)

   bei Microsoft.Maui.Controls.BindableObject.SetValue(BindablePropertyKey propertyKey, Object value)

   bei Microsoft.Maui.Controls.VisualElement.set_Height(Double value)

   bei Microsoft.Maui.Controls.VisualElement.UpdateBoundsComponents(Rect bounds)

   bei Microsoft.Maui.Controls.VisualElement.set_Frame(Rect value)

   bei Microsoft.Maui.Controls.ScrollView.ArrangeOverride(Rect bounds)

   bei Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Arrange(Rect bounds)

   bei Syncfusion.Maui.DataGrid.SfDataGrid.ArrangeContent(Rect bounds)

   bei Syncfusion.Maui.Core.SfView.Microsoft.Maui.ILayout.CrossPlatformArrange(Rect bounds)

   bei Syncfusion.Maui.Core.Platform.LayoutPanelExt.ArrangeOverride(Size finalSize)

   bei Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize) in Microsoft.UI.Xaml\FrameworkElement.cs: Zeile707

   bei ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result) in ABI.Microsoft.UI.Xaml\IFrameworkElementOverrides.cs: Zeile51

--- Ende der Stapelüberwachung vom vorhergehenden Ort ---

   bei WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)

   bei ABI.Microsoft.UI.Xaml.IFrameworkElementOverridesMethods.ArrangeOverride(IObjectReference _obj, Size finalSize) in ABI.Microsoft.UI.Xaml\IFrameworkElementOverridesMethods.cs: Zeile21

   bei Microsoft.UI.Xaml.FrameworkElement.ArrangeOverride(Size finalSize) in Microsoft.UI.Xaml\FrameworkElement.cs: Zeile702

   bei Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize) in Microsoft.UI.Xaml\FrameworkElement.cs: Zeile707

   bei ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result) in ABI.Microsoft.UI.Xaml\IFrameworkElementOverrides.cs: Zeile51

--- Ende der Stapelüberwachung vom vorhergehenden Ort ---

   bei WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)

   bei ABI.Microsoft.UI.Xaml.IUIElementMethods.Arrange(IObjectReference _obj, Rect finalRect) in ABI.Microsoft.UI.Xaml\IUIElementMethods.cs: Zeile197

   bei Microsoft.UI.Xaml.UIElement.Arrange(Rect finalRect) in Microsoft.UI.Xaml\UIElement.cs: Zeile1602

   bei Microsoft.Maui.ViewHandlerExtensions.PlatformArrangeHandler(IViewHandler viewHandler, Rect rect)

   bei Microsoft.Maui.Handlers.ViewHandler`2.PlatformArrange(Rect rect)

   bei Microsoft.Maui.Controls.VisualElement.ArrangeOverride(Rect bounds)

   bei Syncfusion.Maui.Core.SfView.ArrangeOverride(Rect bounds)

   bei Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Arrange(Rect bounds)

   bei Microsoft.Maui.Layouts.GridLayoutManager.ArrangeChildren(Rect bounds)

   bei Microsoft.Maui.Controls.Layout.CrossPlatformArrange(Rect bounds)

   bei Microsoft.Maui.Platform.MauiPanel.CrossPlatformArrange(Rect bounds)

   bei Microsoft.Maui.Platform.MauiPanel.ArrangeOverride(Size finalSize)

   bei Microsoft.Maui.Platform.LayoutPanel.ArrangeOverride(Size finalSize)

   bei Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize) in Microsoft.UI.Xaml\FrameworkElement.cs: Zeile707

   bei ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result) in ABI.Microsoft.UI.Xaml\IFrameworkElementOverrides.cs: Zeile51

--- Ende der Stapelüberwachung vom vorhergehenden Ort ---

   bei WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)

   bei ABI.Microsoft.UI.Xaml.IUIElementMethods.Arrange(IObjectReference _obj, Rect finalRect) in ABI.Microsoft.UI.Xaml\IUIElementMethods.cs: Zeile197

   bei Microsoft.UI.Xaml.UIElement.Arrange(Rect finalRect) in Microsoft.UI.Xaml\UIElement.cs: Zeile1602

   bei Microsoft.Maui.ViewHandlerExtensions.PlatformArrangeHandler(IViewHandler viewHandler, Rect rect)

   bei Microsoft.Maui.Handlers.ViewHandler`2.PlatformArrange(Rect rect)

   bei Microsoft.Maui.Controls.VisualElement.ArrangeOverride(Rect bounds)

   bei Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IView.Arrange(Rect bounds)

   bei Microsoft.Maui.Layouts.LayoutExtensions.ArrangeContent(IContentView contentView, Rect bounds)

   bei Microsoft.Maui.Controls.ContentPage.Microsoft.Maui.ICrossPlatformLayout.CrossPlatformArrange(Rect bounds)

   bei Microsoft.Maui.Platform.MauiPanel.CrossPlatformArrange(Rect bounds)

   bei Microsoft.Maui.Platform.MauiPanel.ArrangeOverride(Size finalSize)

   bei Microsoft.Maui.Platform.ContentPanel.ArrangeOverride(Size finalSize)

   bei Microsoft.UI.Xaml.FrameworkElement.Microsoft.UI.Xaml.IFrameworkElementOverrides.ArrangeOverride(Size finalSize) in Microsoft.UI.Xaml\FrameworkElement.cs: Zeile707

   bei ABI.Microsoft.UI.Xaml.IFrameworkElementOverrides.Do_Abi_ArrangeOverride_1(IntPtr thisPtr, Size finalSize, Size* result) in ABI.Microsoft.UI.Xaml\IFrameworkElementOverrides.cs: Zeile51