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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeMap throws error if not the only control in XAML page

Thread ID:





131771 Jul 26,2017 01:46 PM UTC Jul 27,2017 02:31 PM UTC UWP 1
Tags: SfTreeMap
Chris Washington
Asked On July 26, 2017 01:46 PM UTC

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?

Ashwin Kumaravel [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon