Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 293078

Summary: [Net] Any attempt to connect to CVS server fails with NullPointerException when network proxy is enabled
Product: [Eclipse Project] Platform Reporter: Michael Brown <michael>
Component: TeamAssignee: Platform Team Inbox <platform-team-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: michael, pawel.pogorzelski1, wojciech.galanciak
Version: 3.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Error with stack trace from Eclipse error log none

Description Michael Brown CLA 2009-10-22 13:20:23 EDT
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
Build Identifier: 20090920-1017

When the Active Provider setting in Preferences->General->Network Connections is to either Native or Manual, any attempt to connect to a local CVS server fails with a NullPointerException. Access to the CVS server only works whtn the Active Provider setting is set to Direct.

In both cases (Native or Manual proxy settings) the hostname of the CVS server is on the list of Proxy Bypass hosts. Both the Native and Manual proxy configurations are OK because, with either enabled I can successfully use the Eclipse internal browser or search for updates, both of which require access to external hosts via the company proxy server.

This means that I have to leave the proxy configuration as "Direct" to be able to use CVS (which I have to use all the time) and have to switch back to "Native" or "Manual" if I want to use any Eclipse features that access the internet beyond the corporate firewall.

Reproducible: Always

Steps to Reproduce:
1. Set the Active Provider setting in Preferences->General->Network Connections to either "Native" or "Manual" and ensure that the CVS host is in the list of Proxy Bypass hosts
2. Attempt to access the CVS server (any action)
Comment 1 Michael Brown CLA 2009-10-22 13:23:55 EDT
Created attachment 150280 [details]
Error with stack trace from Eclipse error log
Comment 2 Pawel Pogorzelski CLA 2009-10-23 03:54:45 EDT
Michael, it's Eclipse 3.6.0, right?
Comment 3 Michael Brown CLA 2009-10-23 04:25:59 EDT
(In reply to comment #2)
> Michael, it's Eclipse 3.6.0, right?

Hi Pawel, no, is's Eclipse 3.5.1.
Comment 4 Michael Brown CLA 2010-06-16 05:54:31 EDT
This bug is referred to here:

http://stackoverflow.com/questions/655045/eclipse-still-using-http-proxyhost-settings-when-no-longer-set

where a workaround for the bug is also given.

Why has this bug been apparently ignored?
Comment 5 Wojciech Galanciak CLA 2010-10-04 11:23:27 EDT
Hi Michael,
Could you provide your CVS connection string (e.g. :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse) or if you cannot do that, at least its modified version (e.g. :pserver:user:password@xxx.yyy.org:/cvsroot/eclipse)?

Can you still reproduce this issue in Eclipse 3.6?
Comment 6 Michael Brown CLA 2010-10-06 05:16:36 EDT
Hi Wojciech,

My CVS connection string is (was):

:pserver:tt0504@investserv_old:2401/cvs

where investserv_old is a host on the company LAN.

I'm unable to say whether the problem is reproducible in Eclipse 3.6 as I'm no longer working at the company where I encountered the problem, and where I am currently there is no network proxy and we're not using CVS.
Comment 7 Wojciech Galanciak CLA 2010-10-06 06:35:03 EDT
Michael,
Thank you for your answer. It looks like you problem was a duplicate of bug 323114.
Comment 8 Michael Brown CLA 2010-10-06 06:51:39 EDT
Wojciech,

It does appear do be a duplicate of 323114. I will check with my colleagues at my old place of work to see if using a different CVS host name with no underscore resolves the problem.
Comment 9 Wojciech Galanciak CLA 2010-11-22 06:30:38 EST

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