Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » EGit pull results in NPE
EGit pull results in NPE [message #815101] Wed, 07 March 2012 08:27 Go to next message
Marko Asplund is currently offline Marko AsplundFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I'm having problems pulling from a remote repository (Github).
I get the following errors when trying to pull:

Pull Canceled
The pull operation was canceled

Problem Occurred
'Pulling Branch 1.0 - koku-services1' has encountered a problem.

An internal error occurred during: "Pulling Branch 1.0 - koku-services1".

details:
An internal error occurred during: "Pulling Branch 1.0 - koku-services1".
java.lang.NullPointerException

Is this a known bug?
Should i report it?
Any suggestions for diagnosing the issue further?

I'm using Eclipse EGit 1.2.0.201112221803-r with Indigo Java EE SR1.

marko
Re: EGit pull results in NPE [message #815120 is a reply to message #815101] Wed, 07 March 2012 08:54 Go to previous messageGo to next message
Marko Asplund is currently offline Marko AsplundFriend
Messages: 4
Registered: July 2009
Junior Member
running git pull from the command line results in:
Already up-to-date.

The remote repository uses ssh public key authentication (with ssh-agent).
Is EGit able to work with this?
Re: EGit pull results in NPE [message #815245 is a reply to message #815120] Wed, 07 March 2012 12:15 Go to previous messageGo to next message
Stefan Lay is currently offline Stefan LayFriend
Messages: 342
Registered: July 2009
Senior Member
EGit supports ssh public key authentication.

Do you have a stacktrace (from the error log view)?
Re: EGit pull results in NPE [message #815389 is a reply to message #815245] Wed, 07 March 2012 15:45 Go to previous messageGo to next message
Marko Asplund is currently offline Marko AsplundFriend
Messages: 4
Registered: July 2009
Junior Member
How do i configure ssh public key authentication?
Does EGit use ssh-agent or "default" (id_rsa) OpenSSH public key?

I just upgraded to Indigo SR2 and EGit and the messages are somewhat different but the operation still fails.

Pull Failed
Git connection problem.

Maybe you are offline or behind a proxy.
Check your network connection and proxy configuration.

Reason:
git@github.com:myorg/myrepo.git: session is down

details:
git@github.com:myorg/myrepo.git: session is down

The "Error Log" view just tells me the same thing.
There're no messages in Eclipse workspace log.
Re: EGit pull results in NPE [message #816180 is a reply to message #815389] Thu, 08 March 2012 14:19 Go to previous messageGo to next message
Marko Asplund is currently offline Marko AsplundFriend
Messages: 4
Registered: July 2009
Junior Member
After configuring ssh private key as described in:
EGit/User Guide/Remote (not allowed to post a link)
EGit is now able to communicate with the remote repository.

The error message could've been a bit more descriptive of the situation.
Re: EGit pull results in NPE [message #819664 is a reply to message #816180] Tue, 13 March 2012 07:11 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
Again: could you check the Eclipse error log if you find a stack trace for the NPE you reported ?
Previous Topic:branch.master.merge key for pull
Next Topic:Egit
Goto Forum:
  


Current Time: Thu Mar 28 20:13:43 GMT 2024

Powered by FUDForum. Page generated in 0.07437 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top