"Object reference not set to an instance.." error when deploying a K2 Package

  • 16 February 2021
  • 0 replies
  • 7 views

Userlevel 4
Badge +17
 

"Object reference not set to an instance.." error when deploying a K2 Package

KBS100158

PRODUCT
K2 Five
K2 blackpearl
TAGS
Package and Deploy
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


0 replies

Be the first to reply!

Reply