Code Fix: An error occurs when executing a SmartObject method based on an OData Service Instance
KB002059
PRODUCT
Issue Description
When executing either the List or Load method from the Entities SmartObject generated from an OData Service Instance and the Exclude query parameter is left blank, an error occurs.
Error Message
The error message states "System.NullReferenceException: Object reference not set to an instance of an object."
Resolution
- Ensure you have K2 4.7 installed.
- Download and install the K2 4.7 August 2017 Cumulative Update from K2 Partner and Customer Portal.
- Get the K2 4.7 August 2017 Cumulative Update FP9 from Regional Support.
- Install the K2 4.7 August 2017 Cumulative Update FP9 to apply the fix.