cancel
Showing results for 
Search instead for 
Did you mean: 

Could not execute code stage because exception thrown by code stage: The handle is invalid.

salman_shaik
Level 6
Hi Team, 
We are facing the Invalid handle issue frequently  during the process run from control room and we are not getting the issue when we run it in debug mode. Even Sometimes we are not getting the issue from control room run. We are not able to reproduce the same issue. The error is below mentioned
Could not execute code stage because exception thrown by code stage: The handle is invalid.


This is the error message we are getting. In the process level we are filtering the data in the collection using filter collection action and updating the data in the one of the  excel sheet having 11000+ rows. We observed that for excel sheet having below 1000+ rows also we are getting the same handle issue.
We checked all the things from our end but we are not able to find out any issue from code level because the same code is running one time and the next time its failing. Anyone having idea on this?


------------------------------
Salman Shaik
------------------------------
If I was of assistance, please vote for it to be the "Best Answer". Thanks & Regards, Salman Shaik
2 REPLIES 2

ewilson
Staff
Staff
Hi @Salman Shaik,

What version of Blue Prism are you running, and are you using the latest version of the MS Excel VBO available from the DX?

https://digitalexchange.blueprism.com/dx/entry/3439/solution/ms-excel-vbo

Cheers,

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi @ewilson,

we recently upgraded to 6.10.5  and the VBO version is 6.10.8 and the same version is being used by all other processes but we didn't find any issues in other processes.
but when we are restarting the VDI sometimes ​​the process get completed sometimes facing the issue, not sure why this issue is occurring.

------------------------------
Salman Shaik
------------------------------
If I was of assistance, please vote for it to be the "Best Answer". Thanks & Regards, Salman Shaik