Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
Description
Observed on Stash 2.10.2. Similar to STASH-3793 but different stack trace
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
Attachments
Issue Links
- is related to
-
BSERV-3793 git rev-list fails on startup
- Closed