com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: process timed out

Atlassian JIRA | Alexey Efimov | 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

    {code} 2013-11-22 09:11:40,241 DEBUG [http-bio-7990-exec-31] voodoo 551x361x4 m751bs 127.0.0.1 "GET /rest/branch-utils/latest/projects/PROJECT/repos/repo/branches/info/23d2b5c777d94a603c489ac049628ea177463fcb HTTP/1.0" c.a.s.r.e.ServiceExceptionMapper Mapping ServiceException to REST response 500 com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: process timed out at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:120) ~[na:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:163) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:224) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.internal.branch.info.git.GitBranchInformation.getBranches(GitBranchInformation.scala:79) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getFilteredBranches$1(DefaultBranchInformationService.scala:26) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getBranches(DefaultBranchInformationService.scala:40) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.stash.internal.branch.rest.BranchUtilsResource.getBranches(BranchUtilsResource.java:107) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.0.5_1384476184000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:90) [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.2.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.0-m3_1384476184000.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:72) [stash-service-impl-2.9.1.jar:na] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45] ... 174 frames trimmed Caused by: com.atlassian.utils.process.ProcessTimeoutException: process timed out at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:506) ~[atlassian-processutils-1.5.14.jar:na] at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:423) ~[atlassian-processutils-1.5.14.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:222) ~[stash-spi-2.9.1.jar:na] ... 16 common frames omitted {code}

    Atlassian JIRA | 3 years ago | Alexey Efimov
    com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: process timed out
  2. 0

    {code} 2013-11-22 09:11:40,241 DEBUG [http-bio-7990-exec-31] voodoo 551x361x4 m751bs 127.0.0.1 "GET /rest/branch-utils/latest/projects/PROJECT/repos/repo/branches/info/23d2b5c777d94a603c489ac049628ea177463fcb HTTP/1.0" c.a.s.r.e.ServiceExceptionMapper Mapping ServiceException to REST response 500 com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: process timed out at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:120) ~[na:na] at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:163) ~[na:na] at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:224) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78) ~[stash-spi-2.9.1.jar:na] at com.atlassian.stash.internal.branch.info.git.GitBranchInformation.getBranches(GitBranchInformation.scala:79) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getFilteredBranches$1(DefaultBranchInformationService.scala:26) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getBranches(DefaultBranchInformationService.scala:40) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.stash.internal.branch.rest.BranchUtilsResource.getBranches(BranchUtilsResource.java:107) ~[stash-branch-utils-2.9.1_1384828358000.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.0.5_1384476184000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:90) [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.2.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.0-m3_1384476184000.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:72) [stash-service-impl-2.9.1.jar:na] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45] ... 174 frames trimmed Caused by: com.atlassian.utils.process.ProcessTimeoutException: process timed out at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:506) ~[atlassian-processutils-1.5.14.jar:na] at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:423) ~[atlassian-processutils-1.5.14.jar:na] at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:222) ~[stash-spi-2.9.1.jar:na] ... 16 common frames omitted {code}

    Atlassian JIRA | 3 years ago | Alexey Efimov
    com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: process timed out

    Root Cause Analysis

    1. com.atlassian.stash.exception.ServerException

      An error occurred while executing an external process: process timed out

      at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable()
    2. com.atlassian.stash
      BranchUtilsResource.getBranches
      1. com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:120)[na:na]
      2. com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:163)[na:na]
      3. com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:35)[stash-spi-2.9.1.jar:na]
      4. com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:141)[stash-spi-2.9.1.jar:na]
      5. com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:257)[stash-spi-2.9.1.jar:na]
      6. com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:224)[stash-spi-2.9.1.jar:na]
      7. com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:78)[stash-spi-2.9.1.jar:na]
      8. com.atlassian.stash.internal.branch.info.git.GitBranchInformation.getBranches(GitBranchInformation.scala:79)[stash-branch-utils-2.9.1_1384828358000.jar:na]
      9. com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getFilteredBranches$1(DefaultBranchInformationService.scala:26)[stash-branch-utils-2.9.1_1384828358000.jar:na]
      10. com.atlassian.stash.internal.branch.info.DefaultBranchInformationService.getBranches(DefaultBranchInformationService.scala:40)[stash-branch-utils-2.9.1_1384828358000.jar:na]
      11. com.atlassian.stash.internal.branch.rest.BranchUtilsResource.getBranches(BranchUtilsResource.java:107)[stash-branch-utils-2.9.1_1384828358000.jar:na]
      11 frames
    3. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)[applinks-plugin-4.0.5_1384476184000.jar:na]
      1 frame
    4. com.atlassian.stash
      BeforeLoginPluginAuthenticationFilter.doFilter
      1. com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:90)[StashAuthenticationFilter.class:na]
      2. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111)[BeforeLoginPluginAuthenticationFilter.class:na]
      3. com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77)[BeforeLoginPluginAuthenticationFilter.class:na]
      3 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.2.jar:na]
      1 frame
    6. com.atlassian.oauth
      OAuthFilter.doFilter
      1. com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61)[atlassian-oauth-service-provider-plugin-1.9.0-m3_1384476184000.jar:na]
      1 frame
    7. 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:72)[stash-service-impl-2.9.1.jar:na]
      3 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)[na:1.6.0_45]
      1 frame