When an Avalon app starts up, it parses the XAML file, and as it parses the file, it creates the object tree. Creating the object tree requires that the constructors for the objects be called. And if one of those constructors were to fail, you get a XamlParseException.