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 107408

Summary: NPE when trying to use CVS on NetBeans module
Product: versioncontrol Reporter: Martin Krauskopf <mkrauskopf>
Component: CodeAssignee: issues@versioncontrol <issues>
Status: RESOLVED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: npe.png
NPE.txt
proxy.png

Description Martin Krauskopf 2007-06-20 12:17:53 UTC
Doing CVS update, or "Show chagnes", ... throws NPE. Attaching screenshot and stacktrace. Might be somehow configuration
specific. Let me know if I can provide more information. I can't use NetBeans from withing CVS for now.
Comment 1 Martin Krauskopf 2007-06-20 12:18:27 UTC
Created attachment 44046 [details]
npe.png
Comment 2 Martin Krauskopf 2007-06-20 12:18:57 UTC
Created attachment 44047 [details]
NPE.txt
Comment 3 Martin Krauskopf 2007-06-20 12:21:05 UTC
ps: fresh build, linux
Comment 4 Maros Sandor 2007-06-20 14:48:26 UTC
You probably have a SOCKS proxy set with null/empty host name and/or address. Can you specify what proxy settings you
use? Screenshot of your manual proxy settings maybe or some more info in case of System settings.
Comment 5 Martin Krauskopf 2007-06-20 15:03:25 UTC
Created attachment 44065 [details]
proxy.png
Comment 6 Martin Krauskopf 2007-06-20 15:04:56 UTC
The similar (at attached proxy.png) for gnome-network-properties. Using Ubuntu + Fluxbox. No http_proxy property is set.
Comment 7 Maros Sandor 2007-06-20 15:10:35 UTC
I'll investigate ... however, your settings are wrong because webcache is NOT a SOCKS server ... and I will obviously
try to use SOCKS to connect to a CVS server. Can you try to uncheck the checkbox?
Comment 8 Martin Krauskopf 2007-06-20 15:14:16 UTC
Yup, you are right. Unchecking solved the problem.
Comment 9 Maros Sandor 2007-06-21 15:55:52 UTC
Fixed NPE.

/shared/data/ccvs/repository/versioncontrol/util/src/org/netbeans/modules/proxy/ProxySocketFactory.java,v  <-- 
ProxySocketFactory.java
new revision: 1.3; previous revision: 1.2