Log message error-object not set to ref instance

Hi everyone


Please help here, I am trying to run a bot, it runs but after it moves it gives an error

Hi,

Mostly, this error occurs when variable has null value. Can you share the expression in the LogMessage activity which throws exception?

Regards,

The object reference exception means a variable you’re using is not initialized. I’m guessing you have a datatable where you’re trying to log the row count. But the datatable has not been initialized. However you’re trying to populate that datatable is not working.

Also, your post should be Help/Studio not Feedback.

Probably your variable is null. Verify this variable running this project in debug mode and in locals tab, verify the content inside this variable.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.