One of the variables used in the Wait for Document Validation Action and Resume activity does not have a value. It may be null or not initialized. Ensure that all variables are properly assigned before use.
The error “Object reference not set to an instance of an object” indicates that a variable or argument is null or has not been initialized.
Hope it helps!!