Fixed 'Bug 11547 - System.NullReferenceException: Object reference not
set to an instance of an object'.