< class="prominent-subhead ">

Code Fix: When you remove forms or views from K2 Package and Deployment, an error occurs

~~repeating-content.html~~

Issue Description


When you attempt to create a package using K2 Package and Deployment, and there are validation errors on forms or views, removing these forms or views results in an error in K2 Package and Deployment.

Error Message


The following error occurs: “Object reference not set to an instance of an object”.

Resolution

The fix is available in the following K2 versions:

K2 4.7 December 2019 Cumulative Update K2 Five (5.0) December 2019 Cumulative Update K2 Five (5.1) November 2018 Cumulative Update K2 Five (5.2) May 2019 Cumulative Update K2 Five (5.3)
X X X X Fix Pack 35
  1. Ensure you have the correct K2 version and/or Cumulative Update installed. See KB001893 to see what Fix Pack level you have installed.
  2. Download the latest Fix Pack using the links in the table above for the version you require.
  3. Install the Fix Pack to apply the fix.