BOT is failing dduring first run of the day

I am encountering a strange scenario. Please find the steps below -

  1. For the first run of the day from the orchestrator the bot fails with the following exception - “VisualBasicValue: Object reference not set to an instance of an object”

  2. Once I login to the server and come out, then the BOT runs successfully without any fail.

Thanks,
Ritaman.

@Ritaman_Baral Logging into the server means were you connecting to any Remote desktop or virtual machine?

@Ritaman_Baral

Is it happening on any specific activity? or immediately after you start

you can check by checking what was the last log before this error

Is the robot installed in Service mode?

cheers

While connecting to RDP

Navigate as below in UiPath Orchestrator
Tenant–>Folders–>connected Bot will display. Click on Edit on the required bot and change as below in Robot Settings and try.

image

Please explain me what is this settings meant for.

this happening for the first run of the day.

@Ritaman_Baral

It might be because your machines are getting restarted daily and it is unable to login

one reason I can see is robot not being in service mode

cheers

Thanks.
I will check.

1 Like