Hi, our project is working with a web application but it gets stuck on the log in page occasionally and the error can't be caught by the try catch. Based on the logs, this was the error that caused the bot to be stucked:
Error | 07:26:48.846 AM | 72 | STA | Windows Adapter | WebApplication_XNet | | ReparentWindow (HWND:00560A3E): Window HWND:00560A3E is not in any windows list and is not enqueued for creation. Window cannot be reparented.
While that may be the issue, there can be random adapter exceptions in the log that do not affect the behavior. Adapter exceptions are not automation exceptions and therefore cannot be caught in an automation. You can tell they are adapter exceptions by looking at the thread ID and seeing that it is the same one the adapter events occur on versus the ID of the thread that your automation is happening on.
I would first examine a full log to see what is going on. When you say "stuck", so you mean the page is frozen, or that the automation is failing to recognize that the page is present? If it is the latter, the issue might be matching and an examination of the adapter and a full log might help identify the issue.