System.reflection.targetinvocation exception during assign activity

Hello everyone
I’m having a System.reflection.targetinvocation exception during assign activity
sometimes it works without exception and sometimes the exception appears.
I don’t know what is the cause.
Can anyone help me please.

@Dhouha_Cherif

Check below for your reference

Hope this may help you

Thanks