Community
Participate
Working Groups
What steps will reproduce the problem? 1. Open file -> import -> projects from git 2. select clone 3. enter details for a gerrit instance 4. in "local destination" replace remote name 'origin' with 'gerrit' 5. in the next wizard window select "setup project with gerrit" Without step 5 the clone works. -- Error Details -- Date: Thu Oct 06 12:32:07 CEST 2011 Message: Git repository clone failed. Severity: Error Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.java.product) Plugin: org.eclipse.egit.ui Session Data: eclipse.buildId=M20110909-1335 java.version=1.6.0_23 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product Exception Stack Trace: org.eclipse.core.runtime.CoreException: Invalid remote: origin at org.eclipse.egit.core.op.ConfigureFetchAfterCloneTask.execute(ConfigureFetchAfterCloneTask.java:55) at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:147) at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:306) at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:299) at org.eclipse.egit.ui.internal.clone.GitCloneWizard$4.run(GitCloneWizard.java:261) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:142) at org.eclipse.egit.core.op.ConfigureFetchAfterCloneTask.execute(ConfigureFetchAfterCloneTask.java:53) ... 5 more Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: origin: not found. at org.eclipse.jgit.transport.TransportLocal$1.open(TransportLocal.java:130) at org.eclipse.jgit.transport.TransportBundleFile$1.open(TransportBundleFile.java:105) at org.eclipse.jgit.transport.Transport.open(Transport.java:546) at org.eclipse.jgit.transport.Transport.open(Transport.java:306) at org.eclipse.jgit.transport.Transport.open(Transport.java:277) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:124) ... 6 more -- Error Details -- Date: Thu Oct 06 12:32:07 CEST 2011 Message: Invalid remote: origin Severity: Error Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.java.product) Plugin: org.eclipse.egit.core Exception Stack Trace: org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:142) at org.eclipse.egit.core.op.ConfigureFetchAfterCloneTask.execute(ConfigureFetchAfterCloneTask.java:53) at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:147) at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:306) at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:299) at org.eclipse.egit.ui.internal.clone.GitCloneWizard$4.run(GitCloneWizard.java:261) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: origin: not found. at org.eclipse.jgit.transport.TransportLocal$1.open(TransportLocal.java:130) at org.eclipse.jgit.transport.TransportBundleFile$1.open(TransportBundleFile.java:105) at org.eclipse.jgit.transport.Transport.open(Transport.java:546) at org.eclipse.jgit.transport.Transport.open(Transport.java:306) at org.eclipse.jgit.transport.Transport.open(Transport.java:277) at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:124) ... 6 more
Fix proposed
http://egit.eclipse.org/r/4429
merged as 5ccec807b92cd0d2bb869ec3ac8f54e4e7871b4f