This article refers to legacy products, components or features. Therefore, the content in this article is offered "as is" and will no longer be updated. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


Two errors may surface while using an Infopath form at runtime when the form calls the Load method of an associated SmartObject.
  1. 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.

  2. 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.