com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: git fetch updated refs/heads/refs/pull-requests/example, but the ref does not exist

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Bryan Turner, 1 year ago
An error occurred while executing an external process: git fetch updated refs/heads/refs/pull-requests/example, but the ref does not exist
via Atlassian JIRA by Bryan Turner, 1 year ago
An error occurred while executing an external process: git fetch updated refs/heads/refs/pull-requests/example, but the ref does not exist
via GitHub by xaviershay
, 10 months ago
An error occurred while executing an external process: '/usr/bin/git push --prune ssh://git@git-mirror/app/git/stash/project_1/rep_1.git +refs/heads/*:refs/heads/* +refs/tags/*:refs/tags/*' exited with code 1 saying: No refs in common and none
via GitHub by svante66
, 10 months ago
An error occurred while executing an external process: '/usr/bin/git push --prune gitosis@git.internal.machines:gitolite-admin.git --force +refs/heads/_:refs/heads/_ +refs/tags/_:refs/tags/_' exited with code 129 saying: error: --mirror can't be
via GitHub by PedroFonseca
, 10 months ago
An error occurred while executing an external process: process timed out
via Atlassian JIRA by Alexey Efimov, 1 year ago
An error occurred while executing an external process: process timed out
com.atlassian.stash.exception.ServerException: An error occurred while executing an external process: git fetch updated refs/heads/refs/pull-requests/example, but the ref does not exist
at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:113)
at com.atlassian.stash.scm.git.common.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:159)
at com.atlassian.stash.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:33)
at com.atlassian.stash.internal.repository.sync.command.FetchCommandHandler$FetchExitHandler.onExit(FetchCommandHandler.java:163)
at com.atlassian.stash.scm.BaseCommand.callExitHandler(BaseCommand.java:138)
at com.atlassian.stash.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:251)
at com.atlassian.stash.scm.BaseCommand$CommandFuture.get(BaseCommand.java:220)
at com.atlassian.stash.scm.BaseCommand.call(BaseCommand.java:75)
at com.atlassian.stash.internal.repository.sync.command.AbstractFetchSynchronizeRefsCommand.runFetch(AbstractFetchSynchronizeRefsCommand.java:91)
at com.atlassian.stash.internal.repository.sync.command.IncrementalSynchronizeRefsCommand.runFetch(IncrementalSynchronizeRefsCommand.java:198)
at com.atlassian.stash.internal.repository.sync.command.IncrementalSynchronizeRefsCommand.fetchRefs(IncrementalSynchronizeRefsCommand.java:194)
at com.atlassian.stash.internal.repository.sync.command.IncrementalSynchronizeRefsCommand.synchronize(IncrementalSynchronizeRefsCommand.java:59)
at com.atlassian.stash.internal.repository.sync.command.AbstractSynchronizeRefsCommand.call(AbstractSynchronizeRefsCommand.java:63)
at com.atlassian.stash.internal.repository.sync.command.AbstractFetchSynchronizeRefsCommand.call(AbstractFetchSynchronizeRefsCommand.java:68)
at com.atlassian.stash.internal.repository.sync.command.AbstractFetchSynchronizeRefsCommand.call(AbstractFetchSynchronizeRefsCommand.java:35)
at com.atlassian.stash.internal.repository.sync.DefaultRefSyncService$SynchronizeOperation.doPerform(DefaultRefSyncService.java:604)
at com.atlassian.stash.internal.repository.sync.DefaultRefSyncService$AbstractOperation.perform(DefaultRefSyncService.java:345)
at com.atlassian.stash.internal.repository.sync.DefaultRefSyncService$AbstractOperation.perform(DefaultRefSyncService.java:334)
at com.atlassian.stash.util.TimerUtils.time(TimerUtils.java:54)
at com.atlassian.stash.internal.repository.sync.DefaultRefSyncService.time(DefaultRefSyncService.java:297)
at com.atlassian.stash.internal.repository.sync.DefaultRefSyncService.synchronize(DefaultRefSyncService.java:286)
at com.atlassian.stash.internal.repository.sync.auto.AutoRefSyncProcessor.doProcess(AutoRefSyncProcessor.java:127)
at com.atlassian.stash.internal.repository.sync.auto.AutoRefSyncProcessor.access$000(AutoRefSyncProcessor.java:32)
at com.atlassian.stash.internal.repository.sync.auto.AutoRefSyncProcessor$1.perform(AutoRefSyncProcessor.java:67)
at com.atlassian.stash.internal.user.DefaultEscalatedSecurityContext.call(DefaultEscalatedSecurityContext.java:51)
at com.atlassian.stash.internal.repository.sync.auto.AutoRefSyncProcessor.process(AutoRefSyncProcessor.java:61)
at com.atlassian.stash.internal.concurrent.HazelcastBucketedExecutor$BucketProcessingBootstrapper.run(HazelcastBucketedExecutor.java:130)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.