NullReferenceException when using a Library

I created a custom library to use but when i use this library in another process i keep getting the ‘Object reference not set to an instance of an object’ error. I checked the variables and they are all not empty. When i invoke the same workflow into the script it seems to work fine. So the issue is only when applying the library. Has someone encountered this before?

Thanks!

1 Like

Also, the logs only mention starting the sequence. It seems that the error pops up before any activity is started in the workflow.