When a new document is created and GetStatisticsInfo is called on it, a NullReferenceException is thrown.