If I remove the log activity, the workflow doesn’t give an error, but when I call it from another workflow the invoke activity returns the same error. I didn’t found any other errors and I removed almost all the arguments and variables, but the situation didn’t change. I’m running this workflow into the “Process” workflow of the REFramework.
Just out of curiosity have you installed that extension/package knowingly? It’s needed on your project? I ask because i had a similar issue with another activity just yesterday, where a non needed activity was added as a dependency and was breaking some non related activity.
in my case, I installed the last version (0.5.0) of “MicrosoftTeams.Activities” because I would send message to a Teams channel. Then appeared this NULL exception in every log activity and in every invoke workflow activity of the project. I tried to solve this problem and tested different options but the result was the same. I found some non needed packages but seemed that they didn’t matter (for example into the “import” two Balareva packages that I didn’t install).
When I removed the “MicrosoftTeams.Activities” package, everything works fine again with no exceptions.