Clone Git repo produces NullPointerException [message #1814263] |
Sat, 07 September 2019 00:15 |
David A Messages: 3 Registered: September 2019 |
Junior Member |
|
|
I am getting an error trying to clone a GitHub repo. I generated an RSA key in Eclipse and added it to my private keys in Eclipse. I entered the public key in GitHub.
I go to my GitHub project's web page and click the clone icon and copy the URL for the SSH protocol.
Back in eclipse, I click on "Clone a Git Repository" and the URL from my clipboard is in there. I accept the defaults and click Next. After a moment, it shows the branches (development and master), so I'm assuming I have successfully connected to my GitHub and have signs of life, right?
I leave both branches checked (the default) and click Next. I choose a directory and otherwise accept the defaults, and click Finish. I immediately get a popup dialog saying 'Cloning from git@{URL}:{organization}/{project}.git' has encountered a problem. java.lang.NullPointerException.
The details only say "java.lang.NullPointerException"
Any idea how to solve this?
Further info:
-- Windows 10
-- Eclipse is eclipse-java-2019-06-R-win32-x86_64, downloaded just today.
-- We are running a GitHub enterprise server. I connected to it fine from an old laptop, but a new one is giving me fits.
-- I do not have a problem cloning with git clone at the Git Bash command line using the same SSH key.
-- When I try "Add an existing local Git repository" with the repo I cloned, I walk through the wizard and nothing happens. No errors, repo list still empty.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03088 seconds