I am having troubles with an AUT that is using a ProgressMonitorDialog. The code goes like this:
If the fork parameter is set to true then I get an Exception (invalid thread access) when the tests are running in my CI server.
Setting the fork parameter to false (forcing the stuff to be executed in the UI thread) resolves the problem.
Please note that I don't have this problem when I use my AUT, I am receiving the error only during testing.