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.
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.
After deploying a package solution to the server, you are unable to edit rules in forms and the error message appears as below:
'Object reference not set to an instance of an object'
1. You are unable to edit rules on some Forms. For other Forms or Views you can edit the rules normally.
2. There are errors in the host server logs as below:
"SourceCode.Runtime.Services.Forms","1 RuleHelper utility was unable to retrieve friendly name due to the following error: Object reference not set to an instance of an object"
There are two workarounds to resolve this:
1. Stop the K2 server.
2. Backup the K2 Database.
3. Restart the K2 service.
4. Delete the Form that is causing the issue.
5. Re-deploy only the form from the package (there's no need to redeploy everything).
Consider rolling back to a previously working version of the Form: http://help.k2.com/kb001311.