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 closing a workflow in the HTML5 Workflow Designer, the following error appears:
"Object reference not set to an instance of an object"
The full error message is as follows:
The error can occur when the related Form still has references to a deleted workflow in the Form's rules. You should see them marked as red, indicating that they are no longer applicable.
To resolve the issue, you will need to remove all references to the deleted workflow.