Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Lockfile Error while importing repository
Lockfile Error while importing repository [message #649416] Wed, 19 January 2011 08:12 Go to next message
Me  is currently offline Me Friend
Messages: 1
Registered: January 2011
Junior Member
Hi,

I've tried to import a repository from github.

So I went through File -> Import -> Projects From Git -> Clone... -> Entered URL -> Chose a directory

Everything worked fine, the wizard then started to download the repository but after the download, it throws an error.
Message: Git repository clone failed.

Exception Stack Trace:
java.io.IOException: Could not delete file C:\foo\bar\eclipseworkspace\sipxecs\.git\index.lock

at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:133)
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:118)
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:118)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:142)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:254)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:247)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard$3.run(GitCloneWizard.java:211)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)


I have no idea why the lockfile can't be deleted.

I already tried to download the repository from a https and from a git source.
I also chose different local directories to prevent folder restrictions.

Anyone can help?

My System Spec:

Win7 Professional 64 Bit
Eclipse Helios Build id: 20100917-0705
EGit Version 0.10.1

Greetz, Me

[Updated on: Wed, 19 January 2011 08:23]

Report message to a moderator

Re: Lockfile Error while importing repository [message #657710 is a reply to message #649416] Thu, 03 March 2011 17:15 Go to previous messageGo to next message
Keith Skronek is currently offline Keith SkronekFriend
Messages: 1
Registered: March 2011
Junior Member
Did you ever get this figured out? I'm running into the same issue.
Re: Lockfile Error while importing repository [message #657984 is a reply to message #649416] Fri, 04 March 2011 19:27 Go to previous messageGo to next message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
Can you update to EGit 0.11.3 at try again?

You're on an older release.
Re: Lockfile Error while importing repository [message #660872 is a reply to message #657984] Tue, 22 March 2011 08:14 Go to previous messageGo to next message
Joseph Huynh is currently offline Joseph HuynhFriend
Messages: 1
Registered: March 2011
Junior Member
I'm also encountering the same problem on the latest version of EGit.

Win 7 Pro 32-bit
Eclipse Helios Build id: 20110301-1815
EGit version 0.11.3
Re: Lockfile Error while importing repository [message #662695 is a reply to message #660872] Thu, 31 March 2011 15:20 Go to previous message
Sean Dowd is currently offline Sean DowdFriend
Messages: 1
Registered: March 2011
Junior Member
I had the same problem and it turned out to be a badly named directory in the repository (it was c:). Not sure how it got there, but once it was removed, the problem went away.
Previous Topic:JGit git-status equivalent
Next Topic:Why does Synchronize do nothing?
Goto Forum:
  


Current Time: Mon Apr 06 19:19:18 GMT 2020

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

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

Back to the top