Error in the activity "write line"

Hi @yulya,

As @Srini84 has said, the variable you are logging is null.

Try running your code in Debug, allow the error to occur and then look at the Locals panel for your null variable

See below a link for a solution of the same error