com.atlassian.bitbucket.scm.CommandFailedException: 'C:\Program Files\Git\cmd\git.exe branch --no-track feature/Revert-\"Information-Doc\"-Module refs/heads/master' exited with code 128 saying: fatal: cannot lock ref 'refs/heads/feature/Revert-"Information-Doc"-Module': Unable to create 'C:/Atlassian/ApplicationData/Bitbucket/shared/data/repositories/1/refs/heads/feature/Revert-"Information-Doc"-Module.lock': Invalid argument

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Gustavo Refosco [Atlassian], 1 year ago
'C:\Program Files\Git\cmd\git.exe branch --no-track feature/Revert-\"Information-Doc\"-Module refs/heads/master' exited with code 128 saying: fatal: cannot lock ref 'refs/heads/feature/Revert-"Information-Doc"-Module': Unable to create 'C:/Atlassian/ApplicationData/Bitbucket/shared/data/repositories/1/refs/heads/feature/Revert-"Information-Doc"-Module.lock': Invalid argument
via Atlassian JIRA by Gustavo Refosco [Atlassian], 1 year ago
'C:\Program Files\Git\cmd\git.exe branch --no-track feature/Revert-\"Information-Doc\"-Module refs/heads/master' exited with code 128 saying: fatal: cannot lock ref 'refs/heads/feature/Revert-"Information-Doc"-Module': Unable to create 'C:/Atlassian/ApplicationData/Bitbucket/shared/data/repositories/1/refs/heads/feature/Revert-"Information-Doc"-Module.lock': Invalid argument
via Atlassian JIRA by Thiago Bomfim, 3 days ago
'/bin/git cat-file -t c9684722001a291632ae6f92f265c4ed79584df7:mirror-submodule' exited with code 128 saying: error: unable to find 1cc23dedd2c31ba8d7471fb7282ece43cfcf6b9e fatal: git cat-file c9684722001a291632ae6f92f265c4ed79584df7:mirror-submodule: bad file
com.atlassian.bitbucket.scm.CommandFailedException: 'C:\Program Files\Git\cmd\git.exe branch --no-track feature/Revert-\"Information-Doc\"-Module refs/heads/master' exited with code 128 saying: fatal: cannot lock ref 'refs/heads/feature/Revert-"Information-Doc"-Module': Unable to create 'C:/Atlassian/ApplicationData/Bitbucket/shared/data/repositories/1/refs/heads/feature/Revert-"Information-Doc"-Module.lock': Invalid argument
at com.atlassian.bitbucket.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:46)
at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:106)
at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:160)
at com.atlassian.bitbucket.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:31)
at com.atlassian.bitbucket.scm.BaseCommand.callExitHandler(BaseCommand.java:138)
at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:252)
at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.get(BaseCommand.java:221)
at com.atlassian.bitbucket.scm.BaseCommand.call(BaseCommand.java:75)
at com.atlassian.stash.internal.repository.DefaultRefService.createBranch(DefaultRefService.java:99)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:30)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at com.atlassian.bitbucket.internal.branch.DefaultBranchService.createBranch(DefaultBranchService.java:75)
at com.atlassian.bitbucket.internal.branch.rest.BranchUtilsResource.createBranch(BranchUtilsResource.java:77)
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26)
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26)
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26)
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26)
at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:26)
at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:89)
at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:88)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:109)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75)
at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:94)
at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:67)
at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:122)
at com.atlassian.plugin.connect.plugin.auth.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:82)
at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32)
at com.atlassian.analytics.client.filter.DefaultAnalyticsFilter.doFilter(DefaultAnalyticsFilter.java:36)
at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:87)
at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:73)
at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:85)
at com.atlassian.stash.internal.hazelcast.ConfigurableWebFilter.doFilter(ConfigurableWebFilter.java:38)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.