cancel
Showing results for 
Search instead for 
Did you mean: 

Exception: A stack imbalance has occurred.

Madlen
Level 3
​Hello everybody,

after I updated Blue Prism to from a Version 5 to Version 6.4.0. I get the most of the Time this Error:

"Internal : Exception: A stack imbalance has occurred. Check your process for Errors."

The Process isn't at the fastest way, I tried it slowly too.

Do anyone know what the Problem can be?

------------------------------
Madlen Gertz
Business Analyst / Developer
HDI Global SE
Europe/Hanover
------------------------------
1 BEST ANSWER

Helpful Answers

ramonnunez
Staff
Staff
Stack imbalance errors can happen in Blue Prism if:

You step over too fast in Debug Mode (step over before the current stage ends)
The process or business object is in Exception mode and a new Exception is thrown(for instance if an Action stage throws an Exception after a Recover stage but before a Resume stage).
To recover from a Stack Imbalance error you can:

Reset
Or just run a Resume stage and continue debugging

------------------------------
Ramon Nunez
Customer Solutions Engineer
Blue Prism Software Inc
UTC
------------------------------

View answer in original post

3 REPLIES 3

AmiBarrett
Level 12
The best thing to do is to run it locally and see what stage(s) it's crashing on, then go from there. If all else, turn on full logging temporarily and check the session logs after it's crashed.

------------------------------
Ami Barrett
Lead RPA Software Developer
Solai & Cameron
America/Chicago
------------------------------

HarikrishnaMura
Level 4
Hi There,

There are multiple things that might cause this. We had encountered similar issues when we migrated from 5 to 6. You need to verify all the DLLs are in the correct place, the .Net Framework 4.3 or higher is reinstalled.

------------------------------
Harikrishna Murali
Vice President
BNY Mellon
America/New_York
------------------------------

ramonnunez
Staff
Staff
Stack imbalance errors can happen in Blue Prism if:

You step over too fast in Debug Mode (step over before the current stage ends)
The process or business object is in Exception mode and a new Exception is thrown(for instance if an Action stage throws an Exception after a Recover stage but before a Resume stage).
To recover from a Stack Imbalance error you can:

Reset
Or just run a Resume stage and continue debugging

------------------------------
Ramon Nunez
Customer Solutions Engineer
Blue Prism Software Inc
UTC
------------------------------