There was a post that seemed like it might be related to this ( http://www.rawmaterialsoftware.com/viewtopic.php?f=2&t=5685 ) but i created new one since it wasn’t exactly the same thing.
I am hitting the assert in Component::isParentOf() because the TreeViewContentComponent is keeping a component in its rowComponents arrays during updateComponents(), in a situation where i’m setting the root item o f the tree to NULL (right before I delete it). It appears to be happening because isMouseDraggingInChildCompOf() is true (i’m rebuilding the tree based on user interaction with the tree itself).
So once i’ve done setRootItem(0), i delete my old root item, but the TreeViewContentComponent is left with pointer to a deleted tree component, and the next time the tree is updated i get the assert failure.
Hope that made sense - Any ideas what the best way to fix this is?