com.atlassian.stash.exception.CommandUsageException: The syntax used for the command is incorrect.

Atlassian JIRA | Brent Plump [OOO til 17-Oct] | 3 years ago
  1. 0

    The following error appears in the logs: {noformat} 2013-08-20 23:25:31,574 INFO [localhost-startStop-1] c.a.s.i.p.r.DefaultRescopeProcessor Scheduling detail calculation for 152 pull request rescopes 2013-08-20 23:25:32,167 ERROR [rescope-details:thread-1] c.a.s.i.s.git.GitCommandExitHandler [/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 --] The syntax used is incorrect. git exited and printed a usage block 2013-08-20 23:25:32,175 ERROR [rescope-details:thread-1] c.a.s.i.c.StateTransferringExecutor Error while processing asynchronous task com.atlassian.stash.exception.CommandUsageException: The syntax used for the command is incorrect. at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.checkUsage(GitCommandExitHandler.java:89) ~[na:na] at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.evaluateStdErr(GitCommandExitHandler.java:53) ~[na:na] at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.onError(GitCommandExitHandler.java:159) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:224) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeActivityDetailsProvider.getChangesetsBetween(DefaultRescopeActivityDetailsProvider.java:104) ~[stash-service-impl-2.6.3.jar:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeActivityDetailsProvider.getDetails(DefaultRescopeActivityDetailsProvider.java:69) ~[stash-service-impl-2.6.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_25] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_25] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) ~[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) ~[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) ~[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at $Proxy153.getDetails(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeProcessor.processAll(DefaultRescopeProcessor.java:94) ~[stash-service-impl-2.6.3.jar:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeProcessor.process(DefaultRescopeProcessor.java:78) ~[stash-service-impl-2.6.3.jar:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeProcessor$RescopeCalculator.run(DefaultRescopeProcessor.java:220) ~[stash-service-impl-2.6.3.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.6.3.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [na:1.6.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_25] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_25] {noformat}

    Atlassian JIRA | 3 years ago | Brent Plump
    com.atlassian.stash.exception.CommandUsageException: The syntax used for the command is incorrect.
  2. 0

    The following error appears in the logs: {noformat} 2013-08-20 23:25:31,574 INFO [localhost-startStop-1] c.a.s.i.p.r.DefaultRescopeProcessor Scheduling detail calculation for 152 pull request rescopes 2013-08-20 23:25:32,167 ERROR [rescope-details:thread-1] c.a.s.i.s.git.GitCommandExitHandler [/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 --] The syntax used is incorrect. git exited and printed a usage block 2013-08-20 23:25:32,175 ERROR [rescope-details:thread-1] c.a.s.i.c.StateTransferringExecutor Error while processing asynchronous task com.atlassian.stash.exception.CommandUsageException: The syntax used for the command is incorrect. at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.checkUsage(GitCommandExitHandler.java:89) ~[na:na] at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.evaluateStdErr(GitCommandExitHandler.java:53) ~[na:na] at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.onError(GitCommandExitHandler.java:159) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:224) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.6.3.jar:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeActivityDetailsProvider.getChangesetsBetween(DefaultRescopeActivityDetailsProvider.java:104) ~[stash-service-impl-2.6.3.jar:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeActivityDetailsProvider.getDetails(DefaultRescopeActivityDetailsProvider.java:69) ~[stash-service-impl-2.6.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_25] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_25] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58) ~[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214) ~[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66) ~[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE] at $Proxy153.getDetails(Unknown Source) ~[na:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeProcessor.processAll(DefaultRescopeProcessor.java:94) ~[stash-service-impl-2.6.3.jar:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeProcessor.process(DefaultRescopeProcessor.java:78) ~[stash-service-impl-2.6.3.jar:na] at com.atlassian.stash.internal.pull.rescope.DefaultRescopeProcessor$RescopeCalculator.run(DefaultRescopeProcessor.java:220) ~[stash-service-impl-2.6.3.jar:na] at com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68) ~[stash-platform-2.6.3.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [na:1.6.0_25] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_25] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_25] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_25] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_25] {noformat}

    Atlassian JIRA | 3 years ago | Brent Plump [OOO til 17-Oct]
    com.atlassian.stash.exception.CommandUsageException: The syntax used for the command is incorrect.

    Root Cause Analysis

    1. com.atlassian.stash.exception.CommandUsageException

      The syntax used for the command is incorrect.

      at com.atlassian.stash.internal.scm.git.GitCommandExitHandler.checkUsage()
    2. com.atlassian.stash
      DefaultRescopeActivityDetailsProvider.getDetails
      1. com.atlassian.stash.internal.scm.git.GitCommandExitHandler.checkUsage(GitCommandExitHandler.java:89)[na:na]
      2. com.atlassian.stash.internal.scm.git.GitCommandExitHandler.evaluateStdErr(GitCommandExitHandler.java:53)[na:na]
      3. com.atlassian.stash.internal.scm.git.GitCommandExitHandler.onError(GitCommandExitHandler.java:159)[na:na]
      4. com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35)[stash-spi-2.6.3.jar:na]
      5. com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141)[stash-spi-2.6.3.jar:na]
      6. com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257)[stash-spi-2.6.3.jar:na]
      7. com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:224)[stash-spi-2.6.3.jar:na]
      8. com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78)[stash-spi-2.6.3.jar:na]
      9. com.atlassian.stash.internal.pull.rescope.DefaultRescopeActivityDetailsProvider.getChangesetsBetween(DefaultRescopeActivityDetailsProvider.java:104)[stash-service-impl-2.6.3.jar:na]
      10. com.atlassian.stash.internal.pull.rescope.DefaultRescopeActivityDetailsProvider.getDetails(DefaultRescopeActivityDetailsProvider.java:69)[stash-service-impl-2.6.3.jar:na]
      10 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_25]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_25]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_25]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_25]
      4 frames
    4. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      3 frames
    5. Spring Context
      CacheInterceptor.invoke
      1. org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:58)[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      2. org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:214)[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      3. org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:66)[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      3 frames
    6. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      2 frames
    7. Unknown
      $Proxy153.getDetails
      1. $Proxy153.getDetails(Unknown Source)[na:na]
      1 frame
    8. com.atlassian.stash
      StateTransferringExecutor$StateTransferringRunnable.run
      1. com.atlassian.stash.internal.pull.rescope.DefaultRescopeProcessor.processAll(DefaultRescopeProcessor.java:94)[stash-service-impl-2.6.3.jar:na]
      2. com.atlassian.stash.internal.pull.rescope.DefaultRescopeProcessor.process(DefaultRescopeProcessor.java:78)[stash-service-impl-2.6.3.jar:na]
      3. com.atlassian.stash.internal.pull.rescope.DefaultRescopeProcessor$RescopeCalculator.run(DefaultRescopeProcessor.java:220)[stash-service-impl-2.6.3.jar:na]
      4. com.atlassian.stash.internal.concurrent.StateTransferringExecutor$StateTransferringRunnable.run(StateTransferringExecutor.java:68)[stash-platform-2.6.3.jar:na]
      4 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[na:1.6.0_25]
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[na:1.6.0_25]
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_25]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_25]
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_25]
      6. java.lang.Thread.run(Thread.java:662)[na:1.6.0_25]
      6 frames