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

Bug 331015

Summary: Error message delivered when trying to connect to the CVS server
Product: [Eclipse Project] Platform Reporter: eden
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: tomasz.zarna
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description eden CLA 2010-11-24 09:13:43 EST
Build Identifier: 20100917-0705, Version: Helios Service Release 1

When trying to connect to the CVS server, the following error message appears:

Could not connect to ... CVS communication error: 
org.eclipse.team.internal.ccvs.ssh2.cvsssh2serverconnection$ssh2ioexception: DH KeyPairGenerator not available

- Trying the exact same hostname/repository path etc. from other computers works well.  
- Deleting the workspace hasn't solved the problem.

Many thanks, eden


Reproducible: Always

Steps to Reproduce:
1. Install a fresh Eclipse, start it and create a new Project from CVS
2. Add repository location, including login, repository path, hostname etc.
3. Click "Use an existing module"
Comment 1 Tomasz Zarna CLA 2010-11-25 08:57:51 EST
Is there a stack trace available in your Error Log view? What connection method did you pick when creating the repo location?
Comment 2 eden CLA 2010-11-25 09:31:50 EST
(In reply to comment #1)
> Is there a stack trace available in your Error Log view? 

The error log (Window-->Show View-->Error log) seems empty.

> What connection method did you pick when creating the repo location?

extssh.  It has always worked on this machine (and continues to work on others).

Thank you Tomasz for looking into this!

eden
Comment 3 Tomasz Zarna CLA 2010-12-03 05:08:20 EST
What JDK are you using? This error may indicate that you're missing Sun's JCE extensions. You must have them installed in order for the cryptix classes to work.
Comment 4 eden CLA 2010-12-03 07:56:03 EST
Could not connect to ... CVS communication error: 
org.eclipse.team.internal.ccvs.ssh2.cvsssh2serverconnection$ssh2ioexception: DH
KeyPairGenerator not available
Comment 5 eden CLA 2010-12-03 07:58:03 EST
(In reply to comment #3)
> What JDK are you using? This error may indicate that you're missing Sun's JCE
> extensions. You must have them installed in order for the cryptix classes to
> work.

Thanks Tomasz.

The latest () is installed.  I've just re-installed it to see if it solves the problem.  It did not.  Sorry.
Comment 6 Tomasz Zarna CLA 2010-12-03 11:54:26 EST
Take a look at this thread: http://www.eclipse.org/forums/index.php?t=msg&goto=31960&. Please paste in the result of "java -version".
Comment 7 eden CLA 2010-12-04 07:54:18 EST
(In reply to comment #6)
> Take a look at this thread:
> http://www.eclipse.org/forums/index.php?t=msg&goto=31960&. Please paste in the
> result of "java -version".

Dear Tomasz,

Many thanks for that.  Remarkably, it worked!

What's remarkable is that I've seen this post before, and reinstalled twice the most recent Java SDK.  It has not solved the problem.  This round I've taken the time to uninstall (with Revo Uninstaller, namely uprooting every trace in the Registry/file system) every single Java installation--past versions, JRE, SDKs, the whole lot--and then re-install just the SDK.

The wonders of modern software...  In any case, thank you!

eden
Comment 8 Tomasz Zarna CLA 2010-12-06 04:50:42 EST
No worries, I'm glad I could help.