This project is read-only.


NullReferenceException at remove when TreeView not visible


I got a crash when I remove an item from the model before the tree view is displayed for the first time (for example, when the item is hidden in another tab in a tabcontrol.
This happens only if I create the root TreeViewExItem in the XAML file

The crash is located at TreeViewExItem.cs in function "OnItemsChanged", in case "Remove", the ParentTreeView is null.

Could you please fix that?

file attachments

Closed Aug 3, 2014 at 4:14 PM by slompf


wrote Aug 3, 2014 at 4:14 PM

Resolved with changeset 74785: Fix for 25640

wrote Nov 30, 2017 at 11:06 PM