Invoke method : Value cannot be null

studio

#1

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


#2

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


#3

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


#4

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

Here it is what I have done.