DocuSign for Salesforce - Final variable has already been initialized
Error when trying to access DocuSign for Salesforce Visualforce pages or other App functions:
"Final variable has already been initialized
An unexpected error has occurred. Your solution provider has been notified. (dsfs)"
- If an administrator clones one of our DocuSign for Salesforce-specific permission sets in Salesforce (either 'DocuSign Administrator' or 'DocuSign User') it will throw this error whenever they a user tries to send or go to any of our Visualforce pages for the DocuSign for Salesforce app. The fix is to remove all cloned DocuSign permission sets.
- On previous versions of the DocuSign for Salesforce plugin, there are other causes of this error that have since been resolved. If you have removed all duplicate sets and updated to the current version of DocuSign for Salesforce but are still encountering this error, please open a case with DocuSign Support.
How to check
-In Salesforce, navigate to Setup > either search for 'Permission Sets' or go directly to 'Manage Users > Permission Sets'
-In the list of Permission Sets you can spot the cloned one because it has 'Del | Clone' where as the default ones cannot be deleted.
-You can delete the cloned Permission Set from here unless it's assigned to someone in which case any assignments have to be removed first