Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Clone a Git Repository fails
Clone a Git Repository fails [message #665433] Thu, 14 April 2011 15:24 Go to next message
Joel Rosi-Schwartz is currently offline Joel Rosi-SchwartzFriend
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
Hi,

I am not able to clone repositories. I have set up a fresh install of STS 2.6.0 to test so as to make sure that my development environment is not causing issues. I then tried updating to the nightly with the same affect.

Whenever I try to clone a repository I get a message as below. I have tried this on multiple repositories both on the Eclipse site and GitHub.

Any ideas as to what is wrong? I gather this is not a popular error as I cannot find other mention of it Googling.

TIA,
Joel

Missing unknown 9ada5de967ea8805e7c8142d3647d0500100fa5a

org.eclipse.jgit.api.errors.JGitInternalException: Missing unknown 9ada5de967ea8805e7c8142d3647d0500100fa5a
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:118)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:136)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:261)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:254)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard$4.run(GitCloneWizard.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing unknown 9ada5de967ea8805e7c8142d3647d0500100fa5a
at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:125)
at org.eclipse.jgit.lib.ObjectDatabase.open(ObjectDatabase.java:176)
at org.eclipse.jgit.lib.ObjectDatabase.open(ObjectDatabase.java:147)
at org.eclipse.jgit.lib.Repository.open(Repository.java:243)
at org.eclipse.jgit.dircache.DirCacheCheckout.checkoutEntry(DirCacheCheckout.java:850)
at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:421)
at org.eclipse.jgit.api.CloneCommand.checkout(CloneCommand.java:216)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:115)
... 5 more


eclipse.buildId=2.6.0.201103161000-RELEASE
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Framework arguments:  -product com.springsource.sts.ide -keyring /Users/joel/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.springsource.sts.ide -keyring /Users/joel/.eclipse_keyring -showlocation
Re: Clone a Git Repository fails [message #665451 is a reply to message #665433] Thu, 14 April 2011 16:28 Go to previous messageGo to next message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Is the repository available anywhere for us to try out?
Re: Clone a Git Repository fails [message #665455 is a reply to message #665451] Thu, 14 April 2011 16:35 Go to previous messageGo to next message
Joel Rosi-Schwartz is currently offline Joel Rosi-SchwartzFriend
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
Chris Aniszczyk wrote on Thu, 14 April 2011 17:28
Is the repository available anywhere for us to try out?


Hi Chris,

I was working with git://git.eclipse.org/gitroot/virgo/org.eclipse.virgo.docume ntation.git when I discovered it. First time in STS 2.6.0 that I used Egit and possibly the first time in Helios. I then tried a dozen other from the Virgo repositories and all but "ide.git" failed. I then went to GitHub and tried JQuery to eliminate it being a Virgo repo issue.

The thing I find really odd is that I can try "bad" repos over and again with consistent failure but "ide.git" succeeds every time. Strange.

Cheers,
Joel
Re: Clone a Git Repository fails [message #665520 is a reply to message #665455] Thu, 14 April 2011 21:28 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
yeah, I can verify this problem with git://git.eclipse.org/gitroot/virgo/org.eclipse.virgo.docume ntation.git, it works from native git and fails with missing unknown from EGit.

I think this is [1] and added your case to this bug for better tracking.

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=329495
Re: Clone a Git Repository fails [message #665571 is a reply to message #665520] Fri, 15 April 2011 06:56 Go to previous messageGo to next message
Joel Rosi-Schwartz is currently offline Joel Rosi-SchwartzFriend
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
Hi Matthias,

Thanks for making the connection and adding this to the open bug.

So is this a:
1. A repository problem
2. A problem with git in general
3. A problem with my installation
4. A problem with my environment
5. My bad karma

I am leaning towards 5 or possibly 4 as 1, 2 and 3 do not make any particular sense. Sad

But, seriously, does anyone have an educated guess on the cause and possibly a workaround? Or am I doomed to work outside of Eclipse for all my Git operations?

Thanks,
Joel
Re: Clone a Git Repository fails [message #665661 is a reply to message #665571] Fri, 15 April 2011 12:23 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
Looks like this is missing support for git submodules combined with a dumb error message not pointing to the root cause. See the mentioned bug.
Re: Clone a Git Repository fails [message #665737 is a reply to message #665661] Fri, 15 April 2011 16:47 Go to previous messageGo to next message
Joel Rosi-Schwartz is currently offline Joel Rosi-SchwartzFriend
Messages: 624
Registered: July 2009
Location: London. England
Senior Member
Matthias Sohn wrote on Fri, 15 April 2011 13:23
Looks like this is missing support for git submodules combined with a dumb error message not pointing to the root cause. See the mentioned bug.


Yes thanks. I have added myself to Bug 314853 - Missing support for submodules and voted for it. Shame not much I can do with Egit until thats implemented.

All the best,
Joel
Re: Clone a Git Repository fails [message #1018997 is a reply to message #665737] Thu, 14 March 2013 21:39 Go to previous message
Robert Emmons is currently offline Robert EmmonsFriend
Messages: 29
Registered: July 2009
Junior Member
Has this bug recurred? I am getting this error:


Git repository clone failed.
Missing unknown 4fdb24201a12d25d47ec1730d1084dc4db5f7661



!SESSION 2013-02-07 15:40:18.347 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product -Dosgi.locking=none
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -Dosgi.locking=none -data c:\Users\remmons\develop\eclipse\android

This is a continuation of log file C:\Users\remmons\develop\eclipse\android\.metadata\.bak_0.log
Created Time: 2013-02-07 16:47:14.490

!ENTRY org.eclipse.team.svn.core.svnnature 4 0 2013-02-07 16:47:14.491
!MESSAGE SVN: '0x00000114: Commit' operation finished with error
!SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2013-02-07 16:47:14.491
!MESSAGE Some of selected resources were not added to version control.
!STACK 0
org.eclipse.team.svn.core.connector.SVNConnectorException: svn: E155023: Can't set properties on 'C:\Users\remmons\develop\eclipse\android\Yamba\bin\res\drawable-mdpi': invalid status for updating properties.
at org.polarion.team.svn.connector.svnkit.SVNKitConnector.handleClientException(SVNKitConnector.java:2348)
at org.polarion.team.svn.connector.svnkit.SVNKitConnector.removeProperty(SVNKitConnector.java:2102)
at org.eclipse.team.svn.core.extension.factory.ThreadNameModifier.removeProperty(ThreadNameModifier.java:458)
at org.eclipse.team.svn.core.operation.local.AddToSVNOperation.removeFromParentIgnore(AddToSVNOperation.java:113)
at org.eclipse.team.svn.core.operation.local.AddToSVNOperation.doAdd(AddToSVNOperation.java:124)
at org.eclipse.team.svn.core.operation.local.AddToSVNWithPropertiesOperation.doAdd(AddToSVNWithPropertiesOperation.java:57)
at org.eclipse.team.svn.core.operation.local.AddToSVNOperation$1.run(AddToSVNOperation.java:82)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118)
at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:154)
at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:149)
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.


{Additional error messages deleted}

[Updated on: Fri, 15 March 2013 19:59]

Report message to a moderator

Previous Topic:Not able to import a project as a general project in EGIT
Next Topic:EGit Staging and Staging View
Goto Forum:
  


Current Time: Tue Mar 19 11:37:22 GMT 2024

Powered by FUDForum. Page generated in 0.01874 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top