Changed file list missing from commit details after upgrade to version 3

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

After upgrading to Bitbucket Server 3.x, the "Changed files" information is not displayed within an individual commit. 

The following appears in the atlassian-bitbucket.log:

2014-08-04 11:53:43,916 ERROR [AtlassianEvent::thread-5] jenkins @U0IPQXx713x126579x0 4akq2x 134.64.83.126 SSH - git-receive-pack '/project/repo.git' c.a.s.i.e.AsyncBatchingInvokersTransformer There was an exception thrown trying to dispatch event 'com.atlassian.bitbucket.repository.sync.RefsSynchronizedEvent[source=com.atlassian.bitbucket.internal.repository.sync.DefaultRefSyncService@7dfce3ef]' for the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.bitbucket.internal.hook.repository.AsyncPostReceiveRepositoryHookAdapter.onRefsChangedEvent(com.atlassian.bitbucket.event.RepositoryRefsChangedEvent), listener=com.atlassian.bitbucket.internal.hook.repository.AsyncPostReceiveRepositoryHookAdapter@79603ed8}'.
java.lang.RuntimeException: com.atlassian.bitbucket.pull.PullRequestService.findInDirection(Lcom.atlassian.bitbucket/pull/PullRequestDirection;ILjava/lang/String;Lcom.atlassian.bitbucket/pull/PullRequestState;Lcom.atlassian.bitbucket/pull/PullRequestOrder;Lcom.atlassian.bitbucket/util/PageRequest;)Lcom.atlassian.bitbucket/util/Page;
	at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54) ~[atlassian-event-2.3.5.jar:na]
	at com.atlassian.bitbucket.internal.event.AsyncBatchingInvokersTransformer$AsyncInvokerBatch.invoke(AsyncBatchingInvokersTransformer.java:100) ~[bitbucket-platform-3.2.0.jar:na]
	at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48) [atlassian-event-2.3.5.jar:na]
	at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) [sal-core-2.12.1.jar:na]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_17]
	at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17]
	... 1 frame trimmed
Caused by: java.lang.NoSuchMethodError: com.atlassian.bitbucket.pull.PullRequestService.findInDirection(Lcom.atlassian.bitbucket/pull/PullRequestDirection;ILjava/lang/String;Lcom.atlassian.bitbucket/pull/PullRequestState;Lcom.atlassian.bitbucket/pull/PullRequestOrder;Lcom.atlassian.bitbucket/util/PageRequest;)Lcom.atlassian.bitbucket/util/Page;
	at com.atlassian.bitbucket.unapprove.UnapproveReviewersHook$2.get(UnapproveReviewersHook.java:75) ~[na:na]
	at com.atlassian.bitbucket.util.PagedIterable.iterator(PagedIterable.java:23) ~[bitbucket-util-3.2.0.jar:na]
	at com.atlassian.bitbucket.unapprove.UnapproveReviewersHook.postReceive(UnapproveReviewersHook.java:44) ~[na:na]
	at com.atlassian.bitbucket.internal.hook.repository.AsyncPostReceiveRepositoryHookAdapter$1.visit(AsyncPostReceiveRepositoryHookAdapter.java:49) ~[bitbucket-service-impl-3.2.0.jar:na]
	at com.atlassian.bitbucket.internal.hook.repository.AsyncPostReceiveRepositoryHookAdapter$1.visit(AsyncPostReceiveRepositoryHookAdapter.java:45) ~[bitbucket-service-impl-3.2.0.jar:na]
	at com.atlassian.bitbucket.internal.hook.repository.DefaultRepositoryHookService$RepositoryHookPagedTransactionCallback.doInTransaction(DefaultRepositoryHookService.java:616) ~[bitbucket-service-impl-3.2.0.jar:na]
	at com.atlassian.bitbucket.internal.hook.repository.DefaultRepositoryHookService$RepositoryHookPagedTransactionCallback.doInTransaction(DefaultRepositoryHookService.java:592) ~[bitbucket-service-impl-3.2.0.jar:na]
	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.0.5.RELEASE.jar:4.0.5.RELEASE]
	at com.atlassian.bitbucket.internal.hook.repository.DefaultRepositoryHookService.visitEnabledHooks(DefaultRepositoryHookService.java:304) ~[bitbucket-service-impl-3.2.0.jar:na]
	at com.atlassian.bitbucket.internal.hook.repository.AsyncPostReceiveRepositoryHookAdapter.postReceive(AsyncPostReceiveRepositoryHookAdapter.java:45) ~[bitbucket-service-impl-3.2.0.jar:na]
	at com.atlassian.bitbucket.internal.hook.repository.AsyncPostReceiveRepositoryHookAdapter.onRefsChangedEvent(AsyncPostReceiveRepositoryHookAdapter.java:40) ~[bitbucket-service-impl-3.2.0.jar:na]
	at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36) ~[atlassian-event-2.3.5.jar:na]
	... 6 common frames omitted

 

Cause

This symptom is caused by the incompatibility of the Bitbucket Server Unapprove Reviewers Hook with Bitbucket Server 3.0. 

Resolution

Last modified on Nov 15, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.