Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » JGit(Exception while performing push operation)
JGit [message #802740] Mon, 20 February 2012 11:36
John J D is currently offline John J DFriend
Messages: 1
Registered: January 2012
Junior Member
I did some experiments using JGit. While attempting to (programmatically) push the .war file, the following exception is thrown.

org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of push command
at com.wi.jgit.helper.JGitHelper.pushRepo(
at com.wi.jgit.helper.JGitHelper.main(
Caused by: org.eclipse.jgit.errors.TransportException: ssh:// Auth fail
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(
at org.eclipse.jgit.transport.SshTransport.getSession(
at org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.<init>(
at org.eclipse.jgit.transport.TransportGitSsh.openPush(
at org.eclipse.jgit.transport.PushProcess.execute(
at org.eclipse.jgit.transport.Transport.push(
... 2 more
Caused by: com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(
at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(
... 8 more

Attached is the relevant code. If you could provide some clues, that would be great.
Previous Topic:what does "rejected" mean when pushing to a remote repository?
Next Topic:aborting a merge
Goto Forum:

Current Time: Sat Oct 10 09:17:56 GMT 2015

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

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