Community
Participate
Working Groups
Current EGit snapshot automatically fetches review notes from Gerrit if Gerrit configuration is enabled in clone wizard. This fails for projects where no review has been conducted yet. In that case the import fails, and the following stack trace is available in the error log: 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$5.run(GitCloneWizard.java:278) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) 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
Fix proposed: http://egit.eclipse.org/r/4278
*** Bug 360082 has been marked as a duplicate of this bug. ***
New proposal on Gerrit: http://egit.eclipse.org/r/#change,4428
second proposed patch merged as e44e3d439044d17a7e4ec7e4e7b419ac26a3c338