Community
Participate
Working Groups
What steps will reproduce the problem? 1. Try create a branch using remote branch has the starting point 2. Try to switch to the newly created branch -- Error Details -- Date: Wed Dec 14 08:24:44 EST 2011 Message: Branch failed Severity: Error Product: SpringSource Tool Suite 2.8.1.201111221000-RELEASE (com.springsource.sts.ide) Plugin: org.eclipse.egit.ui Session Data: eclipse.buildId=2.8.1.201111221000-RELEASE java.version=1.6.0_29 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.springsource.sts.ide Exception Stack Trace: org.eclipse.core.runtime.CoreException: Cannot lock C:\repos\git\ops\.git\index at org.eclipse.egit.core.op.BranchOperation$1.run(BranchOperation.java:86) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326) at org.eclipse.egit.core.op.BranchOperation.execute(BranchOperation.java:103) at org.eclipse.egit.ui.internal.branch.BranchOperationUI$1.run(BranchOperationUI.java:162) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: org.eclipse.jgit.api.errors.JGitInternalException: Cannot lock C:\repos\git\ops\.git\index at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:212) at org.eclipse.egit.core.op.BranchOperation$1.run(BranchOperation.java:84) ... 5 more Caused by: java.io.IOException: Cannot lock C:\repos\git\ops\.git\index at org.eclipse.jgit.dircache.DirCache.lock(DirCache.java:188) at org.eclipse.jgit.lib.Repository.lockDirCache(Repository.java:886) at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:159) ... 6 more
Not enough info, old version. If you can repeat with latest build, please re-open.