Hello @Shaik_Shahbaz
This error can throw when the variable you are using in a function doesn’t have any value.
So if you passing any variable, plz check it is having some values. Else during variable declaration, please initialise it to solve the issue.
Thanks