Invoke method : Value cannot be null

Hello,

I am getting following error message when I try to use external DLL.

One more screen with more information of Variables.

I have created a nuget package and then installed that package using package manager in UIPath.
here is the sample code in the DLL. Please help me to fix it.

I don’t know what is wrong here.

Regards,
Prashant Trambake

Add an assign - the method call is fine, your myclass1 variable is not initialized
Class1 myclass1 = new Class1()

2 Likes

Thank you. Let me try. Will let you know.

Yey…!!! Thank you… That was easy. :slight_smile:

Here it is what I have done.