Skip to main content
Nintex Community Menu Bar

Code Fix: After upgrading to K2 Five (5.1), an error occurs when you regenerate SmartObjects

  • Feb 16, 2021 10:59 AM UTC
  • Feb 16, 2023 12:56 AM UTC
  • 0 replies
  • 33 views
  • Translate All

Anelle
Nintex Employee
Forum|alt.badge.img+11
 

Code Fix: After upgrading to K2 Five (5.1), an error occurs when you regenerate SmartObjects

KB002563

PRODUCT
K2 Five 5.1
K2 Five (5.1) Fix Pack 9

 

Issue Description

When you add or delete a column in a SharePoint Document Library after you upgrade to K2 Five (5.1), an error occurs when you attempt to regenerate the SmartObjects for the SharePoint Library.

Error Message

The error message states: “SmartObject Server Exception: Deserialize error 'SourceCode.SmartObjects.Runtime.SmartObjectDefinitionsPublish' '' 'Object reference not set to an instance of an object.’”

Resolution

  1. Ensure you have K2 Five (5.1) installed.
  2. Get the K2 Five (5.1) FP9 from Regional Support.
  3. Install the K2 Five (5.1) FP9 to apply the fix.
  4. You can now regenerate the SharePoint Library SmartObjects.