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.
Created attachment 128441 [details] testEnabledWindows - screen shot. Tests in org.netbeans.modules.ide.ergonomics fails on Windows and JDK7u10. Test testEnabledWindows opens some strange window and testCheckLibrariesReal is waiting for something (see attachments). http://hudson4qe.cz.oracle.com/view/Trunk-QE/job/CV-multi/ org.netbeans.modules.ide.ergonomics.CachingPreventsLoadingOfModuleManifestsTest.testEnabledWindows org.netbeans.modules.ide.ergonomics.DynamicVerifyTest.testCheckLibrariesReal ant -k -f ide.ergonomics test test-generate-html -Dtest.includes=**/CachingPreventsLoadingOfModuleManifestsTest.class ant -k -f ide.ergonomics test test-generate-html -Dtest.includes=**/DynamicVerifyTest.class
Created attachment 128442 [details] testCheckLibrariesReal thread dump.
The same thread dump is also for ValidateModulesTest.testPluginDisplay ant -k -f o.n.core test test-generate-html -Dtest.includes=**/ValidateModulesTest.class
Let's start with the dialog. Imho, it should not be shown when -Dnetbeans.fullhack=true - e.g. in tests. Maybe that will solve part of the problem. I don't know who shows the dialog, however.
Need to be re-assigned to the dialog owner, I think.
Denis, can you please investigate? This refers to the internal websocket server.
Dialog notifies about occupied port which is being tried to use by WebSocket server. The notification is not a bug. But there is no need to start server at all in this specific case. ExternalBrowserPlugin had not been used and had not been instantiated before it has been called in the Shutdown class as I see from the stacktrace. The exception comes from Shutdown class whose logic is not needed at all if ExternalBrowserPlugin wasn't instantiated previously. So this is introduced by Martin via this commit : http://hg.netbeans.org/web-main/rev/2f4580af5554
IMHO it's quite unexpected, that initialization of a static field starts the server! Fixed by changeset: 240890:48bd1c546514 http://hg.netbeans.org/web-main/rev/48bd1c546514
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/48bd1c546514 User: mentlicher@netbeans.org Log: #222811: Do not use @OnStop, so that we do not start the server.
*** Bug 223014 has been marked as a duplicate of this bug. ***