Hi,
the issue about an “SWTException invalid thread access” is occasionally and without an apparent reason triggered. I once reported that in another workflow.
Though, this time it’s a totally different context and, intriguingly, the node address ‘3:1126:0:972’ does not match the failing component:
The failing component is actually the one after which failed:
Here is the thread dump. I am running the lates 5.3.1 version but the issue also appeared more often since 5.3.0. It is not reproducible
240813 SWTException threaddump-1723531488501.tdump.txt (97.8 KB)
The failing component predominantly contains Selenium nodes (fyi @qqilihq) but also some from Vernalis (fyi @Vernalis).
PS: Just a thought … there were some windows to inspect data results still open. In an attempt to better understand the context I leveraged ChatGPT which noted the following leading to my assumption.
The error message
"SWTException: Invalid thread access"
typically occurs when SWT UI elements are accessed from a thread other than the UI thread. In SWT, all UI updates must happen on the UI thread, and attempting to update the UI from a background thread will trigger this exception.
Best
MIke