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.
Summary: | Failing org.netbeans.modules.ide.ergonomics tests on Windows and JDK7u10 | ||
---|---|---|---|
Product: | ide | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | Extbrowser | Assignee: | Martin Entlicher <mentlicher> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | Chiana, pjiricka |
Priority: | P1 | Keywords: | JDK_SPECIFIC, TEST |
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
testEnabledWindows - screen shot.
testCheckLibrariesReal thread dump. |
Description
Jiri Skrivanek
2012-11-27 11:06:53 UTC
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. *** |