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 188318

Summary: Using all CVS features - Connection Failed - java.lang.NullPointerException
Product: versioncontrol Reporter: ruivale <ruivale>
Component: CVSAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: The CVS error message
The NB69 message.log file right after the error ...

Description ruivale 2010-07-02 12:20:09 UTC
Created attachment 100570 [details]
The CVS error message

While using any of the CVS features (checkout, checkin/commit, update, diff, etc.), NB always presents the message "Connection Failed", with the reason "java.lang.NullPointerException". 
Tried with Windows Firewall on and off, using "No Proxy", using "System Proxy Settings" using "Manual Proxy Settings" but the error keeps happening. 

The SVN features just work fine. 

While using Netbeans6.7.1, in the same machine and using the same projects, none of this happens! 

The machine has WinCVS2.0.2.4_build4, TortoiseCVS1.10.10 and "Concurrent Versions System (CVSNT) 2.5.03 (Scorpio) Build 2382 (client/server)" installed.

In the NB about menu, we can see:
Product Version: NetBeans IDE 6.9 (Build 201006101454)
Java: 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01
System: Windows XP version 5.1 running on x86; Cp1252; pt_PT (nb)
...
Comment 1 Ondrej Vrabec 2010-07-02 12:33:56 UTC
Please attach the message log after the connection fails (~/.netbeans/6.9/var/log/message.log)
Comment 2 ruivale 2010-07-02 13:34:12 UTC
Created attachment 100572 [details]
The NB69 message.log file right after the error ...
Comment 3 Ondrej Vrabec 2010-07-02 13:40:20 UTC
duplicate of bug #187186, should be fixed in 6.9.1

java.lang.NullPointerException
at org.netbeans.modules.proxy.ProxySocketFactory.proxyToCs(ProxySocketFactory.java:448)
at org.netbeans.modules.proxy.ProxySocketFactory.createSocket(ProxySocketFactory.java:419)
at org.netbeans.modules.proxy.ProxySocketFactory.createSocket(ProxySocketFactory.java:386)
at org.netbeans.modules.proxy.ProxySocketFactory.createSocket(ProxySocketFactory.java:252)
at org.netbeans.lib.cvsclient.connection.PServerConnection.openConnection(PServerConnection.java:220)
at org.netbeans.lib.cvsclient.connection.PServerConnection.open(PServerConnection.java:359)
at org.netbeans.lib.cvsclient.Client$1.run(Client.java:325)
[catch] at java.lang.Thread.run(Thread.java:619)

*** This bug has been marked as a duplicate of bug 187186 ***