When attempting to package a solution via K2 Package and Deployment, the deployment fails with an error on a view.
The view in the package will be flagged with an error that states: “[View Name] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object.”
The name element for the view was missing.
Thank you for your submission. We will be in contact shortly to assist you.