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.

Bug 211032 - Too high logging level for expected (in some situations) exception SocketTimeoutException in NbProxySelector
Summary: Too high logging level for expected (in some situations) exception SocketTime...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-11 16:11 UTC by Andrew Krasny
Modified: 2012-11-16 02:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Krasny 2012-04-11 16:11:01 UTC
please provide a way for disabling (or, at least change log level) for SocketTimeoutException in NbProxySelector. 

In cnd there is a code that scans subnet and tries to detect weather ssh port is available or not on some machines.. SocketTimeoutException is somewhat expected, but appears in IDE log (which is unwanted in this situation).
Thanks.
Comment 1 Jiri Rechtacek 2012-04-16 14:39:54 UTC
(In reply to comment #0)
> please provide a way for disabling (or, at least change log level) for
> SocketTimeoutException in NbProxySelector. 
> 
> In cnd there is a code that scans subnet and tries to detect weather ssh port
> is available or not on some machines.. SocketTimeoutException is somewhat
> expected, but appears in IDE log (which is unwanted in this situation).
> Thanks.

Could you paste a snippet of IDE log what are you talking about? Thanks
Comment 2 Andrew Krasny 2012-04-16 15:32:40 UTC
It looks like this:

INFO [org.netbeans.core.NbProxySelector]: Incomplete SOCKS Server [/] found in ProxySelector[Type: 2] for uri socket://10.162.100.1:22. 
INFO [org.netbeans.core.NbProxySelector]: Incomplete SOCKS Server [/] found in ProxySelector[Type: 2] for uri socket://10.162.100.11:22. 
INFO [org.netbeans.core.NbProxySelector]: Incomplete SOCKS Server [/] found in ProxySelector[Type: 2] for uri socket://10.162.100.12:22. 
INFO [org.netbeans.core.NbProxySelector]: Incomplete SOCKS Server [/] found in ProxySelector[Type: 2] for uri socket://10.162.100.13:22. 
INFO [org.netbeans.core.NbProxySelector]: Incomplete SOCKS Server [/] found in ProxySelector[Type: 2] for uri socket://10.162.100.14:22. 


To get it I set proxy settings to manual and set HTTP values only (without saying use the same for all protocols).
Comment 3 Ondrej Vrabec 2012-11-14 12:40:18 UTC
fix: http://hg.netbeans.org/core-main/rev/ffbb17f5666a
Comment 4 Quality Engineering 2012-11-16 02:42:01 UTC
Integrated into 'main-golden', will be available in build *201211160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ffbb17f5666a
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #211032 - Too high logging level for expected (in some situations) exception SocketTimeoutException in NbProxySelector
Decresing the log level.
It is quite usual to leave SOCKS proxy empty for manual proxy settings type.