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!

0
Votes

On 31.2.12 (dotnet 10 - windows)

Exception: 

System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Maui.TreeView.ItemGenerator.UpdateContentView(View view, TreeViewItemInfoBase itemInfo)
at Syncfusion.Maui.TreeView.ItemGenerator.UpdateTreeNodeView(TreeViewNode treeViewNode, TreeNodeView treeNodeView)
at Syncfusion.Maui.TreeView.ItemGenerator.UpdateView(TreeNodeView itemView, Int32 position)
at Syncfusion.Maui.TreeView.ItemGenerator.UpdateNodeItem(TreeViewItemInfoBase itemInfo, Int32 rowindex, TreeViewNode treeViewnode)
at Syncfusion.Maui.TreeView.ItemGenerator.CreateNodeItem(Int32 rowindex, TreeViewNode treeViewNode)
at Syncfusion.Maui.TreeView.LayoutBase.CreateTreeViewItem(Int32 itemIndex, TreeViewItemType itemType, TreeViewNode itemData)
at Syncfusion.Maui.TreeView.LinearLayout.EnsureItems(VisibleLinesCollection visibleLines)
at Syncfusion.Maui.TreeView.TreeNodeContainer.EnsureItems()
at Syncfusion.Maui.TreeView.TreeNodeContainer.MeasureContent(Double widthConstraint, Double heightConstraint)
at Syncfusion.Maui.Core.SfView.Microsoft.Maui.ILayout.CrossPlatformMeasure(Double widthConstraint, Double heightConstraint)
at Syncfusion.Maui.Core.Platform.LayoutPanelExt.MeasureOverride(Size availableSize)
at ...

In attachment, repro steps based on SyncfusionExamples/

data-template-selector-demo-in-.net-maui-treeview

 

Still working on 31.2.5 and 31.2.10 (dotnet 9 or 10)

And 31.2.12 seems working on dotnet 9 only