Process-driven applications - fast.
My Account
Login
 
Home : Hotfixes : Hotfix: Exception when an InfoPath form calls a SmartObject's load method
   
 

Hotfix: Exception when an InfoPath form calls a SmartObject's load method

KB Number:KB000303
Date Published:10/7/2008 12:00:00 AM
Date Modified:10/7/2008 12:00:00 AM

Introduction

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.
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.
 
   
   
 
PRODUCT
K2 blackpearl
SEE ALSO
APPLIES TO
Microsoft InfoPath
K2 SmartObject Integration
K2 Server
K2 blackpearl for InfoPath Integration
K2 blackpearl 0807 4.8210.1.x
K2 blackpearl 0807 4.8210.1.1