Introduction
Two errors may surface while using an Infopath form at runtime when the form calls the Load method of an associated SmartObject.
- When a null value is present in a file or image of a SmartObject field, and the load method is called from an Infopath form the action fails with the following error:
System.ArgumentNullException: Value cannot be null.
- Using a SmartObject's load method to display the date from a SmartObject field of type date, the Infopath form returns an error that the date is not formatted correctly.
An error message is displayed stating that the DateTime is in an inconsistant state.
Error Resolution
This Patch is contained within the latest K2 blackpearl 0807 Update. Install the update package to resolve the error.
The latest K2 blackpearl 0807 Update is available as an independent installation package which can be found here:
https://portal.k2.com/downloads/bp/default.aspx.
Note: This is a "FAST PUBLISH" article created directly from within the K2 support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See
Terms of Use for other considerations.