com.atlassian.stash.exception.CommandFailedException: /usr/bin/git rev-list --format=%H%x02%h%x02%P%x02%p%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin -- failed

Atlassian JIRA | Joshua Tjhin | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Observed on Stash 2.10.2. Similar to STASH-3793 but different stack trace {noformat} ERROR [localhost-startStop-1] o.s.web.context.ContextLoader Context initialization failed com.atlassian.stash.exception.CommandFailedException: /usr/bin/git rev-list --format=%H%x02%h%x02%P%x02%p%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin -- failed at com.atlassian.stash.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:44) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:167) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:143) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:256) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:225) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.processRescopes(RepositoryRescopeCommand.java:222) ~[na:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:81) ~[na:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:38) ~[na:na] at com.atlassian.stash.internal.scm.PluginScmService.rescope(PluginScmService.java:257) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy150.rescope(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.attemptUpdatePullRequestsFor(PullRequestRescopeListener.java:229) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$1200(PullRequestRescopeListener.java:65) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:324) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:317) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermissions(SecurityServiceImpl.java:126) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermission(SecurityServiceImpl.java:99) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy155.doWithPermission(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:316) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:311) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:77) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:64) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy168.doWithLock(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.updatePullRequestsFor(PullRequestRescopeListener.java:311) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$800(PullRequestRescopeListener.java:65) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:176) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:171) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doAsUser(SecurityServiceImpl.java:84) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy155.doAsUser(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:170) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:63) ~[stash-service-impl-2.10.2.jar:na] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.6.0_27] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27] at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27] ... 91 frames trimmed ERROR [localhost-startStop-1] c.a.j.s.w.c.JohnsonContextLoaderListener The Spring WebApplicationContext could not be started com.atlassian.stash.exception.CommandFailedException: /usr/bin/git rev-list --format=%H%x02%h%x02%P%x02%p%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin -- failed at com.atlassian.stash.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:44) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:167) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:143) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:256) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:225) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.processRescopes(RepositoryRescopeCommand.java:222) ~[na:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:81) ~[na:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:38) ~[na:na] at com.atlassian.stash.internal.scm.PluginScmService.rescope(PluginScmService.java:257) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy150.rescope(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.attemptUpdatePullRequestsFor(PullRequestRescopeListener.java:229) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$1200(PullRequestRescopeListener.java:65) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:324) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:317) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermissions(SecurityServiceImpl.java:126) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermission(SecurityServiceImpl.java:99) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy155.doWithPermission(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:316) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:311) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:77) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:64) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy168.doWithLock(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.updatePullRequestsFor(PullRequestRescopeListener.java:311) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$800(PullRequestRescopeListener.java:65) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:176) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:171) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doAsUser(SecurityServiceImpl.java:84) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy155.doAsUser(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:170) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:63) ~[stash-service-impl-2.10.2.jar:na] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.6.0_27] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27] at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27] ... 91 frames trimmed {noformat}

    Atlassian JIRA | 3 years ago | Joshua Tjhin (Vacation til 4th July)
    com.atlassian.stash.exception.CommandFailedException: /usr/bin/git rev-list --format=%H%x02%h%x02%P%x02%p%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin -- failed
  2. 0

    Observed on Stash 2.10.2. Similar to STASH-3793 but different stack trace {noformat} ERROR [localhost-startStop-1] o.s.web.context.ContextLoader Context initialization failed com.atlassian.stash.exception.CommandFailedException: /usr/bin/git rev-list --format=%H%x02%h%x02%P%x02%p%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin -- failed at com.atlassian.stash.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:44) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:167) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:143) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:256) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:225) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.processRescopes(RepositoryRescopeCommand.java:222) ~[na:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:81) ~[na:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:38) ~[na:na] at com.atlassian.stash.internal.scm.PluginScmService.rescope(PluginScmService.java:257) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy150.rescope(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.attemptUpdatePullRequestsFor(PullRequestRescopeListener.java:229) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$1200(PullRequestRescopeListener.java:65) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:324) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:317) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermissions(SecurityServiceImpl.java:126) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermission(SecurityServiceImpl.java:99) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy155.doWithPermission(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:316) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:311) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:77) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:64) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy168.doWithLock(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.updatePullRequestsFor(PullRequestRescopeListener.java:311) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$800(PullRequestRescopeListener.java:65) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:176) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:171) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doAsUser(SecurityServiceImpl.java:84) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy155.doAsUser(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:170) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:63) ~[stash-service-impl-2.10.2.jar:na] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.6.0_27] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27] at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27] ... 91 frames trimmed ERROR [localhost-startStop-1] c.a.j.s.w.c.JohnsonContextLoaderListener The Spring WebApplicationContext could not be started com.atlassian.stash.exception.CommandFailedException: /usr/bin/git rev-list --format=%H%x02%h%x02%P%x02%p%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin -- failed at com.atlassian.stash.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:44) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:167) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:143) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:256) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:225) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.10.2.jar:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.processRescopes(RepositoryRescopeCommand.java:222) ~[na:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:81) ~[na:na] at com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:38) ~[na:na] at com.atlassian.stash.internal.scm.PluginScmService.rescope(PluginScmService.java:257) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy150.rescope(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.attemptUpdatePullRequestsFor(PullRequestRescopeListener.java:229) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$1200(PullRequestRescopeListener.java:65) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:324) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:317) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermissions(SecurityServiceImpl.java:126) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermission(SecurityServiceImpl.java:99) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy155.doWithPermission(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:316) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:311) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:77) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:64) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy168.doWithLock(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.updatePullRequestsFor(PullRequestRescopeListener.java:311) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$800(PullRequestRescopeListener.java:65) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:176) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:171) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.user.SecurityServiceImpl.doAsUser(SecurityServiceImpl.java:84) ~[stash-service-impl-2.10.2.jar:na] at com.sun.proxy.$Proxy155.doAsUser(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:170) ~[stash-service-impl-2.10.2.jar:na] at com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:63) ~[stash-service-impl-2.10.2.jar:na] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) ~[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) ~[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~[na:1.6.0_27] at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~[na:1.6.0_27] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) ~[na:1.6.0_27] at java.lang.Thread.run(Thread.java:701) ~[na:1.6.0_27] ... 91 frames trimmed {noformat}

    Atlassian JIRA | 3 years ago | Joshua Tjhin
    com.atlassian.stash.exception.CommandFailedException: /usr/bin/git rev-list --format=%H%x02%h%x02%P%x02%p%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin -- failed

    Root Cause Analysis

    1. com.atlassian.stash.exception.CommandFailedException

      /usr/bin/git rev-list --format=%H%x02%h%x02%P%x02%p%x02%aN%x02%aE%x02%at%n%B%n%x03 --ignore-missing --stdin -- failed

      at com.atlassian.stash.scm.DefaultCommandExitHandler.onError()
    2. com.atlassian.stash
      PluginScmService.rescope
      1. com.atlassian.stash.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:44)[stash-spi-2.10.2.jar:na]
      2. com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:167)[na:na]
      3. com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35)[stash-spi-2.10.2.jar:na]
      4. com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:143)[stash-spi-2.10.2.jar:na]
      5. com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:256)[stash-spi-2.10.2.jar:na]
      6. com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:225)[stash-spi-2.10.2.jar:na]
      7. com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78)[stash-spi-2.10.2.jar:na]
      8. com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.processRescopes(RepositoryRescopeCommand.java:222)[na:na]
      9. com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:81)[na:na]
      10. com.atlassian.stash.internal.scm.git.command.RepositoryRescopeCommand.call(RepositoryRescopeCommand.java:38)[na:na]
      11. com.atlassian.stash.internal.scm.PluginScmService.rescope(PluginScmService.java:257)[stash-service-impl-2.10.2.jar:na]
      11 frames
    3. com.sun.proxy
      $Proxy150.rescope
      1. com.sun.proxy.$Proxy150.rescope(Unknown Source)[na:na]
      1 frame
    4. com.atlassian.stash
      SecurityServiceImpl.doWithPermission
      1. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.attemptUpdatePullRequestsFor(PullRequestRescopeListener.java:229)[stash-service-impl-2.10.2.jar:na]
      2. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$1200(PullRequestRescopeListener.java:65)[stash-service-impl-2.10.2.jar:na]
      3. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:324)[stash-service-impl-2.10.2.jar:na]
      4. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11$1.perform(PullRequestRescopeListener.java:317)[stash-service-impl-2.10.2.jar:na]
      5. com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermissions(SecurityServiceImpl.java:126)[stash-service-impl-2.10.2.jar:na]
      6. com.atlassian.stash.internal.user.SecurityServiceImpl.doWithPermission(SecurityServiceImpl.java:99)[stash-service-impl-2.10.2.jar:na]
      6 frames
    5. com.sun.proxy
      $Proxy155.doWithPermission
      1. com.sun.proxy.$Proxy155.doWithPermission(Unknown Source)[na:na]
      1 frame
    6. com.atlassian.stash
      DefaultLockService.doWithLock
      1. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:316)[stash-service-impl-2.10.2.jar:na]
      2. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$11.perform(PullRequestRescopeListener.java:311)[stash-service-impl-2.10.2.jar:na]
      3. com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:77)[stash-service-impl-2.10.2.jar:na]
      4. com.atlassian.stash.internal.concurrent.DefaultLockService.doWithLock(DefaultLockService.java:64)[stash-service-impl-2.10.2.jar:na]
      4 frames
    7. com.sun.proxy
      $Proxy168.doWithLock
      1. com.sun.proxy.$Proxy168.doWithLock(Unknown Source)[na:na]
      1 frame
    8. com.atlassian.stash
      SecurityServiceImpl.doAsUser
      1. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.updatePullRequestsFor(PullRequestRescopeListener.java:311)[stash-service-impl-2.10.2.jar:na]
      2. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.access$800(PullRequestRescopeListener.java:65)[stash-service-impl-2.10.2.jar:na]
      3. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:176)[stash-service-impl-2.10.2.jar:na]
      4. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener$6.perform(PullRequestRescopeListener.java:171)[stash-service-impl-2.10.2.jar:na]
      5. com.atlassian.stash.internal.user.SecurityServiceImpl.doAsUser(SecurityServiceImpl.java:84)[stash-service-impl-2.10.2.jar:na]
      5 frames
    9. com.sun.proxy
      $Proxy155.doAsUser
      1. com.sun.proxy.$Proxy155.doAsUser(Unknown Source)[na:na]
      1 frame
    10. com.atlassian.stash
      PullRequestRescopeListener.onApplicationEvent
      1. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:170)[stash-service-impl-2.10.2.jar:na]
      2. com.atlassian.stash.internal.pull.rescope.PullRequestRescopeListener.onApplicationEvent(PullRequestRescopeListener.java:63)[stash-service-impl-2.10.2.jar:na]
      2 frames
    11. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      2. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3. org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      4. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)[spring-context-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      4 frames
    12. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)[spring-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      3 frames
    13. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[na:1.6.0_27]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)[na:1.6.0_27]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)[na:1.6.0_27]
      4. java.lang.Thread.run(Thread.java:701)[na:1.6.0_27]
      4 frames