System Exception: NullReferenceException

Hi,

I am running a workflow and the set transaction status workflow would always fail at first if there is a BusinessException with a NullReferenceException. The System Exception when using write line is also thrown as a NullReferenceException. I am a bit confused as System Exception has already been set up in the Initialisation, why is it still showing this error.

@upnewbie

NullReferenceException, It will give exception when the value is expecting some value and the value is getting Null, So check with Debug, give breakpoints, in this way you will get to know which error is getting error

Mark as solution if this helps

Thanks