ALL PULL Request Plugin fails with 500 error

Hi team,

I have upgraded my bitbucket server to 5.0.2 version from  4.4.2 version and everything seems to be fine so far except the "All Pull Request" Plugin.

I installed the plugin version 1.8 and when I click on Pull Requests in home page, iam getting 500 error.

Please find the logs below from atlassian-bitbucket.log

 

 

2017-09-25 15:23:07,181 ERROR [http-nio-7990-exec-2] @1RW3GGRx923x722x0 cnnda5 10.60.213.142,10.64.243.48 "GET /mvc/error500 HTTP/1.1" c.a.s.i.web.ErrorPageController There was an unhandled exception loading [/plugins/servlet/all-pull-requests/all]
com.atlassian.bitbucket.scm.CommandFailedException: '/bin/git fetch /data/atlassian/application-data/bitbucket/shared/data/repositories/801 refs/heads/mystyle:' exited with code 128 saying: error: object directory /home/stash/stash-home/shared/data/repositories/365/objects does not exist; check .git/objects/info/alternates.
error: refs/heads/develop does not point to a valid object!
error: refs/heads/lab/watchOS does not point to a valid object!
error: refs/heads/master does not point to a valid object!
error: refs/tags/2.0.3 does not point to a valid object!
error: refs/tags/2.0.4 does not point to a valid object!
error: refs/tags/2.0.5 does not point to a valid object!
error: refs/tags/2.0.6 does not point to a valid object!
error: refs/tags/HMCOM-27499 does not point to a valid object!
error: refs/tags/HMCOM-27501 does not point to a valid object!
error: refs/tags/charlottenberg does not point to a valid object!
error: refs/tags/delta does not point to a valid object!
error: refs/tags/echo does not point to a valid object!
error: refs/tags/flamingo_code_freeze does not point to a valid object!
error: refs/tags/rc_badger_w16_01 does not point to a valid object!
error: refs/tags/rc_badger_w16_02 does not point to a valid object!
error: refs/tags/v0.1.3 does not point to a valid object!
error: refs/tags/v0.1.4 does not point to a valid object!
error: refs/tags/v0.1.5 does not point to a valid object!
error: refs/tags/v0.1.8 does not point to a valid object!
error: refs/tags/v1.90 does not point to a valid object!
error: refs/tags/v2.0.12 does not point to a valid object!
error: refs/tags/v2.0.13 does not point to a valid object!
error: refs/tags/v2.0.14 does not point to a valid object!
error: refs/tags/v2.0.15 does not point to a valid object!
error: refs/tags/v2.0.16 does not point to a valid object!
error: refs/tags/v2.0.17 does not point to a valid object!
error: refs/tags/v2.0.19 does not point to a valid object!
error: refs/tags/v2.0.21 does not point to a valid object!
error: refs/tags/v2.0.3 does not point to a valid object!
error: refs/tags/v2.0.4 does not point to a valid object!
error: refs/tags/v2.0.5 does not point to a valid object!
error: refs/tags/v2.0.6 does not point to a valid object!
error: refs/tags/v2.1.0 does not point to a valid object!
error: refs/tags/v2.10.0 does not point to a valid object!
error: refs/tags/v2.2.0 does not point to a valid object!
error: refs/tags/v2.4.0 does not point to a valid object!
error: refs/tags/v2.5.0 does not point to a valid object!
error: refs/tags/v2.5.1 does not point to a valid object!
error: refs/tags/v2.6.0 does not point to a valid object!
error: refs/tags/v2.7.0 does not point to a valid object!
error: refs/tags/v2.8.0 does not point to a valid object!
error: refs/tags/v2.9.0 does not point to a valid object!
warning: no common commits
remote: error: object directory /home/stash/stash-home/shared/data/repositories/365/objects does not exist; check .git/objects/info/alternates.
remote: error: Could not read 2e611fce6c344b795ea3b5dc64681d4f1043cfc5
remote: fatal: Failed to traverse parents of commit 8c3e72e712abe1640d4a76bbbdc80cd9d21f7547
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
        at com.atlassian.bitbucket.scm.DefaultCommandExitHandler.onError(DefaultCommandExitHandler.java:46)
        at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.evaluateThrowable(GitCommandExitHandler.java:104)
        at com.atlassian.bitbucket.scm.git.command.GitCommandExitHandler.onError(GitCommandExitHandler.java:201)
        at com.atlassian.bitbucket.scm.DefaultCommandExitHandler.onExit(DefaultCommandExitHandler.java:31)
        at com.atlassian.bitbucket.scm.BaseCommand.callExitHandler(BaseCommand.java:146)
        at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.internalGet(BaseCommand.java:280)
        at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.get(BaseCommand.java:244)
        at com.atlassian.bitbucket.scm.BaseCommand.call(BaseCommand.java:83)
        at com.atlassian.stash.internal.scm.git.porcelain.AbstractTimedRequest.configureAndCall(AbstractTimedRequest.java:41)
        at com.atlassian.stash.internal.scm.git.porcelain.ShinyGitPorcelain.fetch(ShinyGitPorcelain.java:62)
        at com.atlassian.stash.internal.scm.git.pull.CommonAncestorPullRequestAutoMergeStrategy.fetchFromRef(CommonAncestorPullRequestAutoMergeStrategy.java:114)
        at com.atlassian.stash.internal.scm.git.pull.CommonAncestorPullRequestAutoMergeStrategy.doMerge(CommonAncestorPullRequestAutoMergeStrategy.java:72)
        at com.atlassian.stash.internal.scm.git.pull.CommonAncestorPullRequestAutoMergeStrategy.merge(CommonAncestorPullRequestAutoMergeStrategy.java:60)
        at com.atlassian.stash.internal.scm.git.pull.CompositePullRequestAutoMergeStrategy.merge(CompositePullRequestAutoMergeStrategy.java:22)
        at com.atlassian.stash.internal.scm.git.pull.CachingPullRequestAutoMergeStrategy.merge(CachingPullRequestAutoMergeStrategy.java:49)
        at com.atlassian.stash.internal.scm.git.pull.CompositePullRequestAutoMergeStrategy.merge(CompositePullRequestAutoMergeStrategy.java:22)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.resolveNewEffectiveDiff(DefaultPullRequestRefHelper.java:425)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.access$500(DefaultPullRequestRefHelper.java:53)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper$EffectiveDiffOperation.perform(DefaultPullRequestRefHelper.java:545)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper$EffectiveDiffOperation.perform(DefaultPullRequestRefHelper.java:510)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper$AbstractOperation.perform(DefaultPullRequestRefHelper.java:476)
        at com.atlassian.stash.internal.concurrent.ClusterMappedLock.withLock(ClusterMappedLock.java:49)
        at com.atlassian.stash.internal.concurrent.ClusterPullRequestLock.withLock(ClusterPullRequestLock.java:25)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.withLock(DefaultPullRequestRefHelper.java:458)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.access$300(DefaultPullRequestRefHelper.java:53)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper$EffectiveDiffOperation.call(DefaultPullRequestRefHelper.java:522)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper$EffectiveDiffOperation.call(DefaultPullRequestRefHelper.java:510)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at com.atlassian.util.concurrent.ConcurrentOperationMapImpl$CallerRunsFuture.get(ConcurrentOperationMapImpl.java:63)
        at com.atlassian.util.concurrent.ConcurrentOperationMapImpl.runOperation(ConcurrentOperationMapImpl.java:51)
        at com.atlassian.stash.internal.scm.git.pull.DefaultPullRequestRefHelper.resolveEffectiveDiff(DefaultPullRequestRefHelper.java:132)
        at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$2.call(DefaultGitPullRequestCommandFactory.java:173)
        at com.atlassian.stash.internal.scm.git.DefaultGitPullRequestCommandFactory$2.call(DefaultGitPullRequestCommandFactory.java:169)
        at com.atlassian.stash.internal.pull.DefaultMergeRequestCheckService.tryMerge(DefaultMergeRequestCheckService.java:70)
        at com.atlassian.stash.internal.pull.DefaultMergeRequestCheckService.checkMergeability(DefaultMergeRequestCheckService.java:47)
        at com.atlassian.stash.internal.pull.DefaultPullRequestService.canMerge(DefaultPullRequestService.java:234)
        at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
        at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
        at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
        at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
        at com.infusion.stash.allpullrequests.DefaultPullRequestExtendedFactory.getPullRequestExtended(DefaultPullRequestExtendedFactory.java:52)
        at com.infusion.stash.allpullrequests.AllPullRequestsServlet.findPullRequests(AllPullRequestsServlet.java:129)
        at com.infusion.stash.allpullrequests.AllPullRequestsServlet.doGet(AllPullRequestsServlet.java:85)
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:24)
        at com.atlassian.analytics.client.filter.UniversalAnalyticsFilter.doFilter(UniversalAnalyticsFilter.java:92)
        at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:39)
        at com.atlassian.stash.internal.spring.lifecycle.LifecycleJohnsonServletFilterModuleContainerFilter.doFilter(LifecycleJohnsonServletFilterModuleContainerFilter.java:42)
        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:181)
        at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:85)
        at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:81)
        at com.atlassian.stash.internal.spring.lifecycle.LifecycleJohnsonServletFilterModuleContainerFilter.doFilter(LifecycleJohnsonServletFilterModuleContainerFilter.java:42)
        at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:88)
        at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:112)
        at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75)
        at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:94)
        at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:67)
        at com.atlassian.stash.internal.spring.lifecycle.LifecycleJohnsonServletFilterModuleContainerFilter.doFilter(LifecycleJohnsonServletFilterModuleContainerFilter.java:42)
        at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:109)
        at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32)
        at com.atlassian.analytics.client.filter.DefaultAnalyticsFilter.doFilter(DefaultAnalyticsFilter.java:38)
        at com.atlassian.analytics.client.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:39)
        at com.atlassian.stash.internal.spring.lifecycle.LifecycleJohnsonServletFilterModuleContainerFilter.doFilter(LifecycleJohnsonServletFilterModuleContainerFilter.java:42)
        at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:90)
        at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:73)
        at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:89)
        at com.atlassian.stash.internal.hazelcast.ConfigurableWebFilter.doFilter(ConfigurableWebFilter.java:38)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.lang.Thread.run(Thread.java:745)
        ... 289 frames trimmed
Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128
        at com.atlassian.bitbucket.scm.SummarizingProcessHandler.complete(SummarizingProcessHandler.java:47)
        at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:667)
        at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:161)
        at com.atlassian.bitbucket.scm.BaseCommand$CommandFuture.get(BaseCommand.java:242)
        ... 68 common frames omitted

 

1 answer

This widget could not be displayed.

I'm facing the same issue with Bitbucket 5.6.1 also. Using latest version of Add-on v1.8.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

484 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you