This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.
When deploying a workflow, the following error appears:
"System.ArgumentNullException: Value cannot be null.
Parameter name: registeredWizard
at SourceCode.Framework.WizardDefinition..ctor(WizardElement registeredWizard)
at SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.CreateClientEvents(XmlDocument xmlProcess, XmlDocument xmlInputData, XmlNode activity, Activity newActivity, Process newProcess, String UserName)
at SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.CreateActivies(XmlDocument xmlInputData, XmlDocument xmlProcess, DefaultProcess& newProcess, String UserName)
at SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.Generate(String LocalHostConnection, String UserName, Int32 ProcessID, String InputData, String ProcessXML, String SqlConnectionString, String HostServerConnectionString)"
This issue can occur if you do not have SmartForms client components installed in your environment.
Installing K2 SmartForms Client Components on the K2 Blackpearl server should resolve the issue.
- Run the SmartForms Setup Manager on the app server.
- Select the 'Modify' option.
- Install the client components and complete the configuration of the Setup Manager.