com.atlassian.stash.exception.CommandFailedException: '/usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03END%x04 --no-walk=unsorted asdasd asdasd^@' exited with code 128 saying: fatal: ambiguous argument 'asdasd': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'

Atlassian JIRA | Pierre-Etienne Poirot [Atlassian] | 2 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

    Error on stash-prod: {noformat} 2015-01-29 23:28:17,441 ERROR [http-nio-9080-exec-10] jvanderloo *1E3YHMHx1408x855293x1 os7s61 202.68.74.170,172.24.36.105,172.24.12.146,172.24.12.182 "GET /projects/CONF/repos/confluence-previews/commits/asdasd HTTP/1.1" c.a.s.i.w.HandlerExceptionResolverImpl '/usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03END%x04 --no-walk=unsorted asdasd asdasd^@' exited with code 128 saying: fatal: ambiguous argument 'asdasd': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' com.atlassian.stash.exception.CommandFailedException: '/usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03END%x04 --no-walk=unsorted asdasd asdasd^@' exited with code 128 saying: fatal: ambiguous argument 'asdasd': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' at com.atlassian.stash.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:47) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:104) ~[na:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:158) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:33) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:138) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:251) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:220) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:75) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.internal.commit.DefaultCommitService.getChangeset(DefaultCommitService.java:212) ~[stash-service-impl-3.6.1.jar:na] at com.atlassian.stash.internal.commit.DefaultCommitService.getChangeset(DefaultCommitService.java:204) ~[stash-service-impl-3.6.1.jar:na] at com.atlassian.stash.internal.web.repos.RepositoryController.getCommit(RepositoryController.java:405) ~[RepositoryController.class:na] at com.atlassian.stash.internal.web.repos.RepositoryController.getCommit(RepositoryController.java:220) ~[RepositoryController.class:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.3.5_1418193664000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.onSuccess(StashAuthenticationFilter.java:224) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:101) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.8.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79) [atlassian-oauth-service-provider-plugin-1.9.9_1418193664000.jar:na] at com.hazelcast.web.WebFilter$RequestWrapper$1.forward(WebFilter.java:542) [hazelcast-wm-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.8.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79) [atlassian-oauth-service-provider-plugin-1.9.9_1418193664000.jar:na] at com.atlassian.analytics.client.filter.DefaultAnalyticsFilter.doFilter(DefaultAnalyticsFilter.java:32) [analytics-client-3.53_1418193666000.jar:na] at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32) [analytics-client-3.53_1418193666000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:82) [stash-service-impl-3.6.1.jar:na] at com.hazelcast.web.WebFilter.doFilter(WebFilter.java:463) [hazelcast-wm-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] at com.atlassian.stash.internal.hazelcast.ConfigurableWebFilter.doFilter(ConfigurableWebFilter.java:36) [ConfigurableWebFilter.class:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_25] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25] ... 263 frames trimmed Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128 at com.atlassian.stash.scm.SummarizingProcessHandler.complete(SummarizingProcessHandler.java:53) ~[stash-spi-3.6.1.jar:na] at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:659) ~[atlassian-processutils-1.6.0-m2.jar:na] at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:161) ~[atlassian-processutils-1.6.0-m2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:218) ~[stash-spi-3.6.1.jar:na] ... 25 common frames omitted {noformat}

    Atlassian JIRA | 2 years ago | Pierre-Etienne Poirot [Atlassian]
    com.atlassian.stash.exception.CommandFailedException: '/usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03END%x04 --no-walk=unsorted asdasd asdasd^@' exited with code 128 saying: fatal: ambiguous argument 'asdasd': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
  2. 0

    Error on stash-prod: {noformat} 2015-01-29 23:28:17,441 ERROR [http-nio-9080-exec-10] jvanderloo *1E3YHMHx1408x855293x1 os7s61 202.68.74.170,172.24.36.105,172.24.12.146,172.24.12.182 "GET /projects/CONF/repos/confluence-previews/commits/asdasd HTTP/1.1" c.a.s.i.w.HandlerExceptionResolverImpl '/usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03END%x04 --no-walk=unsorted asdasd asdasd^@' exited with code 128 saying: fatal: ambiguous argument 'asdasd': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' com.atlassian.stash.exception.CommandFailedException: '/usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03END%x04 --no-walk=unsorted asdasd asdasd^@' exited with code 128 saying: fatal: ambiguous argument 'asdasd': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' at com.atlassian.stash.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:47) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:104) ~[na:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:158) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:33) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:138) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:251) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:220) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:75) ~[stash-spi-3.6.1.jar:na] at com.atlassian.stash.internal.commit.DefaultCommitService.getChangeset(DefaultCommitService.java:212) ~[stash-service-impl-3.6.1.jar:na] at com.atlassian.stash.internal.commit.DefaultCommitService.getChangeset(DefaultCommitService.java:204) ~[stash-service-impl-3.6.1.jar:na] at com.atlassian.stash.internal.web.repos.RepositoryController.getCommit(RepositoryController.java:405) ~[RepositoryController.class:na] at com.atlassian.stash.internal.web.repos.RepositoryController.getCommit(RepositoryController.java:220) ~[RepositoryController.class:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.3.5_1418193664000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.onSuccess(StashAuthenticationFilter.java:224) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:101) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.8.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79) [atlassian-oauth-service-provider-plugin-1.9.9_1418193664000.jar:na] at com.hazelcast.web.WebFilter$RequestWrapper$1.forward(WebFilter.java:542) [hazelcast-wm-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.8.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79) [atlassian-oauth-service-provider-plugin-1.9.9_1418193664000.jar:na] at com.atlassian.analytics.client.filter.DefaultAnalyticsFilter.doFilter(DefaultAnalyticsFilter.java:32) [analytics-client-3.53_1418193666000.jar:na] at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32) [analytics-client-3.53_1418193666000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:82) [stash-service-impl-3.6.1.jar:na] at com.hazelcast.web.WebFilter.doFilter(WebFilter.java:463) [hazelcast-wm-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] at com.atlassian.stash.internal.hazelcast.ConfigurableWebFilter.doFilter(ConfigurableWebFilter.java:36) [ConfigurableWebFilter.class:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_25] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_25] ... 263 frames trimmed Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128 at com.atlassian.stash.scm.SummarizingProcessHandler.complete(SummarizingProcessHandler.java:53) ~[stash-spi-3.6.1.jar:na] at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:659) ~[atlassian-processutils-1.6.0-m2.jar:na] at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:161) ~[atlassian-processutils-1.6.0-m2.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:218) ~[stash-spi-3.6.1.jar:na] ... 25 common frames omitted {noformat}

    Atlassian JIRA | 2 years ago | Pierre-Etienne Poirot [Atlassian]
    com.atlassian.stash.exception.CommandFailedException: '/usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03END%x04 --no-walk=unsorted asdasd asdasd^@' exited with code 128 saying: fatal: ambiguous argument 'asdasd': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'

    Root Cause Analysis

    1. com.atlassian.stash.exception.CommandFailedException

      '/usr/bin/git rev-list --format=%H%x02%P%x02%aN%x02%aE%x02%at%n%B%n%x03END%x04 --no-walk=unsorted asdasd asdasd^@' exited with code 128 saying: fatal: ambiguous argument 'asdasd': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'

      at com.atlassian.stash.scm.DefaultCommandExitHandler.onError()
    2. com.atlassian.stash
      RepositoryController.getCommit
      1. com.atlassian.stash.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:47)[stash-spi-3.6.1.jar:na]
      2. com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:104)[na:na]
      3. com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:158)[na:na]
      4. com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:33)[stash-spi-3.6.1.jar:na]
      5. com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:138)[stash-spi-3.6.1.jar:na]
      6. com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:251)[stash-spi-3.6.1.jar:na]
      7. com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:220)[stash-spi-3.6.1.jar:na]
      8. com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:75)[stash-spi-3.6.1.jar:na]
      9. com.atlassian.stash.internal.commit.DefaultCommitService.getChangeset(DefaultCommitService.java:212)[stash-service-impl-3.6.1.jar:na]
      10. com.atlassian.stash.internal.commit.DefaultCommitService.getChangeset(DefaultCommitService.java:204)[stash-service-impl-3.6.1.jar:na]
      11. com.atlassian.stash.internal.web.repos.RepositoryController.getCommit(RepositoryController.java:405)[RepositoryController.class:na]
      12. com.atlassian.stash.internal.web.repos.RepositoryController.getCommit(RepositoryController.java:220)[RepositoryController.class:na]
      12 frames
    3. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)[applinks-plugin-4.3.5_1418193664000.jar:na]
      1 frame
    4. com.atlassian.stash
      BeforeLoginPluginAuthenticationFilter.doFilter
      1. com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.onSuccess(StashAuthenticationFilter.java:224)[StashAuthenticationFilter.class:na]
      2. com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:101)[StashAuthenticationFilter.class:na]
      3. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111)[BeforeLoginPluginAuthenticationFilter.class:na]
      4. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77)[BeforeLoginPluginAuthenticationFilter.class:na]
      4 frames
    5. com.atlassian.security
      TrustedApplicationsFilter.doFilter
      1. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100)[atlassian-trusted-apps-core-3.0.8.jar:na]
      1 frame
    6. com.atlassian.oauth
      OAuthFilter.doFilter
      1. com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79)[atlassian-oauth-service-provider-plugin-1.9.9_1418193664000.jar:na]
      1 frame
    7. Hazelcast
      WebFilter$RequestWrapper$1.forward
      1. com.hazelcast.web.WebFilter$RequestWrapper$1.forward(WebFilter.java:542)[hazelcast-wm-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      1 frame
    8. com.atlassian.security
      TrustedApplicationsFilter.doFilter
      1. com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100)[atlassian-trusted-apps-core-3.0.8.jar:na]
      1 frame
    9. com.atlassian.oauth
      OAuthFilter.doFilter
      1. com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:79)[atlassian-oauth-service-provider-plugin-1.9.9_1418193664000.jar:na]
      1 frame
    10. com.atlassian.analytics
      AbstractHttpFilter.doFilter
      1. com.atlassian.analytics.client.filter.DefaultAnalyticsFilter.doFilter(DefaultAnalyticsFilter.java:32)[analytics-client-3.53_1418193666000.jar:na]
      2. com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:32)[analytics-client-3.53_1418193666000.jar:na]
      2 frames
    11. com.atlassian.stash
      DefaultRequestManager.doAsRequest
      1. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89)[BeforeLoginPluginAuthenticationFilter.class:na]
      2. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75)[BeforeLoginPluginAuthenticationFilter.class:na]
      3. com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:82)[stash-service-impl-3.6.1.jar:na]
      3 frames
    12. Hazelcast
      WebFilter.doFilter
      1. com.hazelcast.web.WebFilter.doFilter(WebFilter.java:463)[hazelcast-wm-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      1 frame
    13. com.atlassian.stash
      ConfigurableWebFilter.doFilter
      1. com.atlassian.stash.internal.hazelcast.ConfigurableWebFilter.doFilter(ConfigurableWebFilter.java:36)[ConfigurableWebFilter.class:na]
      1 frame
    14. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_25]
      2. java.lang.Thread.run(Thread.java:745)[na:1.8.0_25]
      2 frames