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.

Issue

Error when deploying Workflow "Missing reference at SmartformField in Event '' in Activity '' Error object reference not set to an instance of an object"

Image

You will also be presented with this error on the Task Event:
"Object reference not set to an instance of an object"

Image

Symptoms

You will be unable to deploy your workflow and a Server Event error will be raised.

Resolution

To correct this, you will need to Navigate to the Environment Library and validate that the "Set as Default" is enabled after applying the Set Default button on K2 Management:

Image