"Object reference not set to an instance of an object" error when executing ADO query

  • 16 February 2021
  • 0 replies
  • 6 views

Userlevel 5
Badge +20
 

"Object reference not set to an instance of an object" error when executing ADO query

kbt142763

PRODUCT
K2 Five
K2 blackpearl 4.7
BASED ON
K2 blackpearl 4.7
TAGS
SmartObjects
K2 connect for SAP
End User
Administrator
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

When you have a SmartObject directly correlated to K2 Connect and try to execute a list method to allow data to be returned from SAP, this fails with an error on the user interfaces screen. 

The same error can occur if you are executing an ADO query  when using the "UNION ALL SELECT" method. This is tested within the SmartObject tester tool.

Symptoms

The following error will appear within the SmartObject tester tool:

 

"Object reference not set to an instance of an object."

Resolution

This issue has been resolved by applying Fixpack 6 for March CU. This can be obtained by contacting K2 Support.

0 replies

Be the first to reply!

Reply