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

You may experience the following issue when deploying your K2 Package:

Full error message: "[FieldName]: Object reference not set to an instance of an object."

Image

Symptoms

This problem will occur if your Description value for your Environment Field is empty:

Image

Resolution

The developers have identified this as an issue and it will be resolved in a future version of K2.

Workaround
During the deployment stage you can change the values of the Environment fields by Right clicking on the relevant field and select change value, and give it a value:

Image

Your package will then deploy successfully:

Image