This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Will attach thread dump.
Created attachment 62438 [details] Thread dump
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: http://konik-z2.czech.sun.com:8080/hudson/job/NB-Core-Build/765/artifact/real.workspace/xtest/instance/results/testrun_080611-231752/testbag_4/sys/ide/messages.log/*view*/
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.
Fixed fe15228c9896. 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 commit-validation.
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. ***