Posted: 8 Mar 2018 7:10 EST Last activity: 8 Mar 2018 9:48 EST
System.ObjectDisposedException: Cannot access a disposed object - Exception
Open span tool is interacting with Pega application. We have come across a scenario where the tool enters case id in the search box, clicks on search button and opens the work object. After the Work Object is opened, the assignment is clicked and landed on the desired flow action. A drop down in the flow action has other flow actions listed to make a switch.
User complains this drop down doesn't get populated in rare scenarios in Production environment. This happens once in many iterations of the above procedure. This issue is not reproducible in non-prod environments.
Verified the pre-processing activity or any access issues, no such items were the root cause of the issue.
System.ObjectDisposedException: Cannot access a disposed object - Exception is posted at the tool end in Open Span and no log entry is available in pegarules/alert log file in Pega.
Kindly let us know if anybody has come across similar issue and had a resolution on the same.
This sounds like a timing issue. A disposed object would be an object that has been destroyed. Using the logs you can track the life cycle of that control. Does it get destroyed and then created when something else changes. If so, you may need to wait for the destroyed event before waiting for the created event.