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: | Avoid "System network proxy reloading failed!" warning from NbTestCase in NB JUnit | ||
---|---|---|---|
Product: | platform | Reporter: | Jiri Rechtacek <jrechtacek> |
Component: | Proxy | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jskrivanek |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Jiri Rechtacek
2013-10-22 11:16:10 UTC
This should fix it: http://hg.netbeans.org/core-main/rev/6c8473aefad0 Jirko, this may help you with the problem we discused (issue 234632) Thank you! Integrated into 'main-silver', will be available in build *201311220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6c8473aefad0 User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #237469: Avoid "System network proxy reloading failed!" warning from NbTestCase in NB JUnit Does it mean that system proxy settings are ignored? In that case we need to set proxy a different way when testing update center, Maven projects etc. (In reply to Jiri Skrivanek from comment #6) > Does it mean that system proxy settings are ignored? In that case we need to > set proxy a different way when testing update center, Maven projects etc. It means that the default Java proxy selector is used. The NbProxySelector is not set up. How do I disable the System proxy check with project on maven? WARNING [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy resolver: no suitable found, using fallback. INFO [org.netbeans.core.network.proxy.fallback.FallbackNetworkProxy]: Fallback system proxy resolver: no http_proxy variable found INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy reloading succeeded. INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - mode: direct INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy: falled to default (corect if direct mode went before) Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.981 sec <<< FAILURE! (In reply to tombart from comment #8) > How do I disable the System proxy check with project on maven? tombart, could you be more specific? Do you mean just logging or system network proxy detection in general? Thanks > WARNING [org.netbeans.core.network.proxy.NetworkProxyReloader]: System > network proxy resolver: no suitable found, using fallback. > INFO [org.netbeans.core.network.proxy.fallback.FallbackNetworkProxy]: > Fallback system proxy resolver: no http_proxy variable found > INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network > proxy reloading succeeded. > INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network > proxy - mode: direct > INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network > proxy: falled to default (corect if direct mode went before) > Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.981 sec > <<< FAILURE! |