Hi,
I'm concerned that EGit 4.9.1 and 4.9.2 consistently fail to
produce a well-formed clone for some Eclipse repositories, e.g.,
for http://git.eclipse.org/gitroot/jdt/eclipse.jdt.core.git
Oomph's Git Clone task fails like this:
java.lang.Exception:
org.eclipse.jgit.api.errors.RefNotFoundException: Ref
refs/remotes/origin/master can not be resolved
at
org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:892)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3324)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3267)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4494)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4488)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4486)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3258)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3233)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3133)
at
org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:575)
at
org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:701)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: org.eclipse.jgit.api.errors.RefNotFoundException: Ref
refs/remotes/origin/master can not be resolved
at
org.eclipse.jgit.api.CreateBranchCommand.getStartPointObjectId(CreateBranchCommand.java:283)
at
org.eclipse.jgit.api.CreateBranchCommand.call(CreateBranchCommand.java:136)
at
org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.createBranch(GitCloneTaskImpl.java:1232)
at
org.eclipse.oomph.setup.git.impl.GitCloneTaskImpl.perform(GitCloneTaskImpl.java:824)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3324)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3267)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:4494)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:4488)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:4486)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3258)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3233)
at
org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3133)
at
org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:575)
at
org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:701)
... 1 more
Even if I do it manually in the IDE, it produces this result.
I.e., there are no Remote Tracking branches for some repositories.
So the one repo above works, but the other (for JDT Core) always
produces this ill-formed result.
I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=528497
to track the issue.
I'm concerned that we will release Oxygen with a serious JGit
problem.
Regards,
Ed
|