Will attach thread dump.
Created attachment 62438 [details]
Failed again during 733, thread dumps looks the same.
I am investigating. It does not seem to be deadlock. CloneableEditor blocks AWT thread - it looks like first phase of
editor initialization failed. But there is no thread for first phase, no exception log. "Refresh Editor Context" just
accidentally waits for blocked AWT thread. I will add logging to see what happens with first editor initialization phase
and enable logging just for commit validation.
Added logging 2c6d217d573a
Here is a failure with logging enabled:
Progress: In this case doc variable is null after call of notifyAll. It can happen when document is closed during
opening. It can happen during test because document is opened/closed immediatelly.
One fix is to change condition to break wait loop in initDocument. Other fix is to avoid recursive call of initVisual.
Logging is changed to Level.FINE and enabled in commit-validation to monitor behavior of CloneableEditor in
Condition is change to make sure that wait is not entered when document is closed during opening CloneableEditor.
*** Issue 136033 has been marked as a duplicate of this issue. ***