Object reference not set to an instance of an object-URGENT

It’s in main
image

1 Like

@Nithinkrishna
The area where error persist is marked

1 Like

Hey @mitul_choudhary

Please find the workaround below. I was not able to save the changes as it has dependency error. So attaching SS.

If you have any queries please let me know.

Thanks
#nK

Thank you so much
shall i do this modification in already existing if activity

1 Like

Yes exactly. Inside then block of the existing if.

ok so i need to create another if under the block of existing if
right…?

1 Like

Yes, you are right.

  1. Go that assign place inside the existing if
  2. Add one more if above that assign
  3. Give the condition as in SS
  4. Drag the assign inside the new if’s then part
  5. Change the assign value as in SS
  6. If you want add handling part in else block

And that’s it you are done !

#nK :slightly_smiling_face:

done @Nithinkrishna
it’s showing error one or more children have same validation error

1 Like

In throw have you passed the value, if not please pass the below.

new Exception("Mail item doesn't exist")

1 Like

@Nithinkrishna pls help…!!!

1 Like

I am getting error, seems you have used some third party library.
I am not able to repair it.
image

Yes it behaves right now…

You are getting the mail item from some path I believe, but it is not available in the path.

That’s why you are getting as null.

Add a valid item to the path and run it will be running fine.

Ohk, how do i know the path…?

1 Like

Package is not even present .

vaidotaskumza.pdfsharp.activities.1.0.0.13.nupkg (219.8 KB)
UiPathTeamActivitiesReadSavedEmailToObject.1.0.3.nupkg (55.7 KB)
SaveMsgAttachmentActivities.1.0.11.nupkg (8.6 KB)

These all are the third part activity used

1 Like

@Nithinkrishna …??

1 Like

Thanks @mitul_choudhary

Let me install this and say you !

just let me know the path u were talking about in above post or else whatever way u feel right.Thanks
----------------------------------------------------------------------------:-
How do i know the path…?

1 Like