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.


If the SmartObject property is of DateTime type and is set as a return and not as an input property an "Object reference not set to an instance of an object." may occur.

The local machine has the following items installed:

  • K2 blackpearl 0807 4.8210.1.x

Example Scenario
Note: The steps below describe one scenario under which this error may occur. The steps below are simplified and not all the steps will be shown or described.

The K2 developer performs the following steps within a K2 process designer canvas:
  1. Open a K2 blackpearl 0807 (4.8210.1.x) environment
  2. Create a SharePoint SmartObject with a List Folders method.
  3. Execute the List Folders method in an aspx page.
  4. The page will not display, instead an Object Reference error will be displayed.

Error Messages

Object reference not set to an instance of an object

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.