The latest build of this product (v22.1.3) was released 6 months ago,
which was before this thread was created.

We are setting the dockManager's ToolWindowLayoutData to an XmlDocument. In a particular case we are getting object not set to valid reference. The XmlDocument seems to be fine. Is there a way to diagnose what is happening in the docking library?