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 - NPE when trying to use CVS on NetBeans module
Summary: NPE when trying to use CVS on NetBeans module
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-06-20 12:17 UTC by Martin Krauskopf
Modified: 2007-06-21 15:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
npe.png (11.21 KB, image/png)
2007-06-20 12:18 UTC, Martin Krauskopf
Details
NPE.txt (708 bytes, text/plain)
2007-06-20 12:18 UTC, Martin Krauskopf
Details
proxy.png (15.26 KB, image/png)
2007-06-20 15:03 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
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