RemoteException wrapping: System.ArgumentNullException: Value cannot be null

Hi All,

I am trying to handle the exception when the csv(input file) will be blank. Does anyone know what I am missing here? Any help would be appreciated.

2 Likes

@Sailee_Gokhale Did you try to catch an exception of type Exception. it does catch all kinds of exception

Hi
Welcome to uipath community
I hope you are running in debug mode
Kindly run by pressing Start button (play) in the design tab and try once
Try catch activity won’t catch the exception if it’s ran in debug mode

Kindly try and let know for any queries or clarification
Cheers @Sailee_Gokhale

2 Likes

I did.
image

Hi,
Tried another logic with If Else, checking the output (if it is null) from another application which is treated as input for the flow which I have shared above.

Thanks anyway, @Palaniyappan and @supermanPunch

3 Likes

Great
Cheers @Sailee_Gokhale

1 Like

@Sailee_Gokhale I wanted you to change that ArgumentNullException to just Exception :sweat_smile: But if its working, then all is Good :smile:

Tried your solution. It is not working :frowning:

@Sailee_Gokhale :open_mouth: It should catch any kind of exception, but thanks for noticing me anyways :slightly_smiling_face: