How to catch a Object reference not set to an instance of an object

Hi, Im trying to catch an activity that may assign a null value to a variable, I’ve tried using System.exception and NullReference.exception but it still keeps stopping the workflow, how can I fix this? thank you

1 Like

Hi
Kindly check once whether we are running debug mode
Because only in debug mode even though we run in try catch the exception won’t be caught
Run in normal mode which would let the catch block to catch the exception
Cheers @thered

Running in Normal Mode still shows the same error

If possible can I have a view on that workflow with a screenshot if possible
Cheers @thered

Hi
So we have any term like “exceptionHandlerWorkflow”: in Project.Json
If so remove that and try once
Cheers @thered

1 Like

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