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.
Sometimes it happens that the attached NoSuchElementException is thrown during the commit validation test. Maybe it is similar to issue 39655.
Created attachment 13689 [details] stack trace
This is probably reproducible only in the automatic test. The customization have to run really fast in order to fill various commands sets concurrently. Some sort of synchronization is necessary.
Fixed in trunk. The commit validation should run O.K. now. /cvs/vcscore/src/org/netbeans/modules/vcscore/DefaultVcsCommandsProvider.java,v <-- DefaultVcsCommandsProvider.java new revision: 1.8; previous revision: 1.7
What about issue 39655? Is the similar fix applicable to it?
Yes, issue #39655 needs a similar fix. However, additional synchronization in VcsFileSystem class is more dangerous...
Verified.