System.ArgumentNullException: Value cannot be null - where is the problem?

No worries kindly check whether the variable has any value in it
use write line before to this start process and mention those variables and check in the output panel whether any value is getting displayed
with that we can debug whether the value is passed or not
thats the issue
you were almost done
Cheers @MartinLorange