single mandatory root element in presentation tree

How can the Trees.length be undefined or < 0 if there is always a root?