Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360082 - Gerrit clone fails if no "refs/notes/review" exists
Summary: Gerrit clone fails if no "refs/notes/review" exists
Status: RESOLVED DUPLICATE of bug 357781
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.1   Edit
Hardware: Macintosh Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 07:03 EDT by Thomas Koch CLA
Modified: 2011-10-07 11:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Koch CLA 2011-10-06 07:03:47 EDT
What steps will reproduce the problem?
I tried to import (clone) a GIT repo with Gerrit support against Gerrit version 2.2.1. The repository does not yet have any merged commit, so there are no review notes.


-- Error Details --
Date: Thu Oct 06 12:43:01 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: Exception caught during execution of fetch command
	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.JGitInternalException: Exception caught during execution of fetch command
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:145)
	at org.eclipse.egit.core.op.ConfigureFetchAfterCloneTask.execute(ConfigureFetchAfterCloneTask.java:53)
	... 5 more
Caused by: org.eclipse.jgit.errors.TransportException: Remote does not have refs/notes/review available for fetch.
	at org.eclipse.jgit.transport.FetchProcess.expandSingle(FetchProcess.java:349)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:139)
	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136)
	... 6 more

-- Error Details --
Date: Thu Oct 06 12:43:01 CEST 2011
Message: Exception caught during execution of fetch command
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.JGitInternalException: Exception caught during execution of fetch command
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:145)
	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.TransportException: Remote does not have refs/notes/review available for fetch.
	at org.eclipse.jgit.transport.FetchProcess.expandSingle(FetchProcess.java:349)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:139)
	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:113)
	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136)
	... 6 more
Comment 1 Remy Suen CLA 2011-10-06 16:57:36 EDT
Possibly a duplicate of bug 357781.
Comment 2 Kevin Sawicki CLA 2011-10-07 11:52:27 EDT
Remy, I believe you are correct, this is a duplicate.

*** This bug has been marked as a duplicate of bug 357781 ***