DocuSign for Salesforce - Error: Attempt to de-reference a null object
Error when trying to send using any DocuSign button from Salesforce, including the standard button. This error will come up when trying to access the Visualforce page for preparing an envelope.
Error: Attempt to de-reference a null object
**This is a fairly generic error and basically is saying that it cannot find a specific value it's trying to pull in.
This error is known to come up with the standard button if the Recipient Roles are removed from the DocuSign Account settings in the DocuSign for Salesforce - Admin tab.
The 'Send with DocuSign' button pulls in the recipient but is unable to access the role to assign to because the Recipient Role list is empty or Null.
If you skip the Visualforce page using a custom button value of OCO = 'Tag' to go right to the tagging screen this will work and shows that it's not a permissions issue.
- Recommended solution: Add Role names back to this list. If this fails to resolve the error, please update to the latest version of DocuSign for Salesforce.
- Alternate Solution for Custom Button: Skip the Visualforce page using a custom button value of OCO = 'Tag' to go right to the tagging screen.