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
|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:
- Open a K2 blackpearl 0807 (4.8210.1.x) environment
- Create a SharePoint SmartObject with a List Folders method.
- Execute the List Folders method in an aspx page.
- The page will not display, instead an Object Reference error will be displayed.
Object reference not set to an instance of an object
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