Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] EGit 4.9.1 and 4.9.2 Have ProblemsCloning

It makes the bug a bit less severe but it should still be fixed for 4.7.2. The error message is not good enough for affected people to figure out what's going on and in most cases they do not have the power to apply the suggested workaround.

Dani



From:        Matthias Sohn <matthias.sohn@xxxxxxxxx>
To:        Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date:        14.12.2017 02:05
Subject:        Re: [cross-project-issues-dev] EGit 4.9.1 and 4.9.2 Have Problems        Cloning
Sent by:        cross-project-issues-dev-bounces@xxxxxxxxxxx




Thomas found out that the repo http://git.eclipse.org/gitroot/jdt/eclipse.jdt.core.githas two tags that differ only by case:
refs/tags/Cheetah
refs/tags/cheetah

which seems to cause this issue on case-insensitive filesystems.

Creating multiple refs only differing in case isn't fully portable, on case-insensitive filesystems
this may lead to problems.

In eclipse.jdt.core.git rename or delete one of those tags, this should fix the problem for this repository.

There is probably room to improve the current behaviour of jgit. Though I think the fact that this problem
is caused by two refs which only differ in case reduces the severity of the issue considerably.

This problem is tracked in https://bugs.eclipse.org/bugs/show_bug.cgi?id=528497

-Matthias 

On Wed, Dec 13, 2017 at 6:02 PM, Matthias Sohn <matthias.sohn@xxxxxxxxx> wrote:
yes, I found the commit which introduced the issue and started debugging the problem to see how to fix this.

-Matthias

On Wed, Dec 13, 2017 at 5:37 PM, Frederic Gurr <frederic.gurr@xxxxxxxxxxxxxxxxxxxxxx> wrote:

Hi,

I guess Matthias Sohn is already investigating, but we should find out
quickly if this requires yet another respin, so the process (ask PMC and
the Planning Council) can be started.

Regards,

Fred


--
Frederic Gurr

Release Engineer
Eclipse Foundation



On 13.12.2017 06:43, Ed Merks wrote:
> 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.gitOomph'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=528497to
> track the issue.
>
> I'm concerned that we will release Oxygen with a serious JGit problem.
>
> Regards,
> Ed
>
>
> _______________________________________________
> cross-project-issues-dev mailing list
>
cross-project-issues-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev
>
_______________________________________________
cross-project-issues-dev mailing list

cross-project-issues-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_cross-2Dproject-2Dissues-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=1UITCR5rxUZHSFczvfaNFK4ymEbEiccRX7VKchpqz0Y&m=33KIJ15oKOYOPlwOeAFD07mGmf_7mqswR8rFwjXe0Cc&s=L8lpDn7TAYNfDBPBG4p2Zi42hYALqJ0IbOwPh4CL8fQ&e=



Back to the top