< class="prominent-subhead ">

K2 Studio failing with "Value cannot be null"error appearing on Workflow Deployment

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.


K2 Studio is not opening due to a "Value cannot be null: Parameter name: field" error message appearing.



K2 Studio is failing to load on startup and unable to deploy Process Workflows.


To resolve this issue, verify the below setting in K2 Workspace.


1. Navigate to K2 Workspace > Management > Management Console
2. Expand [Server] > Environment Library > Templates > Default Templates > Environments > Development > Environment Fields
3. Locate the "SmartObject Server," select it and click Edit 
4. Ensure the "Set as Default" checkbox is checked.

Note: steps 3 and 4 should also be performed against [Server] > Environment Library > Templates > Default Templates > Environments > Production > Environment Fields