We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

TreeMap throws error if not the only control in XAML page

When nesting the TreeMap with other controls on a XAML page, or placing in a TreeMap in a UserControl that is nested with other controls in a XAML page, the following error happens when debugging:

"{System.NullReferenceException: Object reference not set to an instance of an object. at Syncfusion.UI.Xaml.TreeMap.TreeMapItem.MeasureOverride(Size availableSize)}"

When making the TreeMap the only control on the page, it runs fine.  Can the control work along side other UI controls in a page?

1 Reply

AK Ashwin Kumaravel Syncfusion Team July 27, 2017 02:31 PM UTC

Hi Chris,

Thank you for using Syncfusion products,
We can reproduce the reported issue “Object reference not set to an instance of an object" at our end. We have logged bug report for the same. This fix will be included in our 2017 Vol3 release which will be released at the end of July 2017.
As a work around please set specific Height and width to the TreeMap control to overcome this issue.

Please let us know if you need further assistance.


Regards,
Ashwin.k


Loader.
Up arrow icon