Push to... operation fails [message #578788] |
Mon, 05 April 2010 19:44 |
Francisco Gortázar Messages: 20 Registered: July 2009 Location: Spain |
Junior Member |
|
|
Hi,
I'm trying to push to a remote server we are configuring. I have ssh access to the server. The server has git-core installed, and there is a git repository in /var/git/test2.git created with:
git init --bare
I first tried with the git+ssh protocol, but got the following error:
Can't connect to any repository: git+ssh://fgortazar@sidelab.es/var/git/test2.git (Transport error occured during push operation: git+ssh://fgortazar@sidelab.es/var/git/test2.git: error occurred during unpacking on the remote end: unpacker exited with error code)
Then, I tried the sftp protocol, and got an NPE:
An internal error occurred during: "Pushing to...sftp://fgortazar@sidelab.es/var/git/test2.git".
Exception stack trace:
java.lang.NullPointerException
at org.eclipse.jgit.lib.ObjectIdSubclassMap.index(ObjectIdSubcl assMap.java:166)
at org.eclipse.jgit.lib.ObjectIdSubclassMap.get(ObjectIdSubclas sMap.java:88)
at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:727)
at org.eclipse.jgit.lib.PackWriter.setUpWalker(PackWriter.java: 838)
at org.eclipse.jgit.lib.PackWriter.preparePack(PackWriter.java: 497)
at org.eclipse.jgit.transport.WalkPushConnection.sendpack(WalkP ushConnection.java:222)
at org.eclipse.jgit.transport.WalkPushConnection.push(WalkPushC onnection.java:163)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.j ava:137)
at org.eclipse.jgit.transport.Transport.push(Transport.java:873 )
at org.eclipse.egit.core.op.PushOperation.run(PushOperation.jav a:129)
at org.eclipse.egit.ui.internal.push.PushWizard$PushJob.run(Pus hWizard.java:224)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I wonder if there is any additional software that the server needs (like some unpackager [unzip?] as it is suggested by the error in my first approach). Am I doing something wrong? How can I push to a remote server? What does egit expects regarding the server?
Regards,
Francisco.
--
http://www.gavab.es/eclipsegavab
http://sidelab.wordpress.com
http://www.gavab.es/eclipsegavab
http://sidelab.wordpress.com
|
|
|
|
Powered by
FUDForum. Page generated in 0.03123 seconds