Trying to fix a NullReferenceException provided via an anonymous error report