Symptoms
Deployment Failed
Diagnoses
When attempting to deploy a Smarform integration process via K2 Designer, the following error is thrown:
Deployment Failed
System.ArgumentNullException: Value cannot be null
Parameter name: registeredWizard
When attempting to export this process to a .kprx, the following error is thrown:
An error has occurred while exporting the process:
The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.
Resolution
We discovered that a Smartform integrated process will deploy successfully until the adding of a Smartforms client event. We determined that this is a recorded issue as per KB:
http://help.k2.com/kb001382
that usually occurs when a K2 Blackpearl repair was done but a K2 Smartforms reconfigure was not. Re-configuring K2 Smartforms resolved the issue.