Dear all! I regularly use exception.Message for my Try/Catch activity logging, and for the first time I get the following error message when using it: 'Reference to a non-shared member requires an object reference`. Same error also for exception.Source
Thank you!
1 Like
Try debugging the code, so that we will get to know where exactly it is throwing exception.
I cannot start debugging as it throws it as a validation error. Thanks!
if you click on validate it will show the where the validation error is.
Cross check whether the values you used are declared and assigned
I got the same error from using exception.Message in a log message activity in the “Finally” section instead of the “Catches” section. when you move the log activity to the Catches section validation errors disappear.