Use Desktop Outylook App: Object reference not set to an instance of an object

Hello, can anyone tell me why I get the error “Use Desktop Outylook App: Object reference not set to an instance of an object”?

I have linked a snippet down below, do take a look.

Hope the below steps would help you resolve this

  1. Run in debug mode
  2. Once after reaching outlook activity check whether any variable is assigned to it and see whether those variables are assigned with value you can check that in LOCAL PANELS during debugging

With that you can find the root case as this erro occurs only when an variable user doesn’t have any value in it

Cheers @nmjvk

Hi @nmjvk From the variables panel, Jobinfo is not initialized and pointing to null.
Make sure the object is initialized before using it.

Since in the subject you are using JobInfo.ProcessName will throw the error.

Regards,
Kartheek Byggari

1 Like

Dear @KarthikByggari

Thank you, this makes sense. I fixed it now.

Cheers!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.