An error occured is shown every time users see a Pull Request

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


Platform Notice: Server, Data Center, and Cloud By Request - This article was written for the Atlassian server and data center platforms but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

Users are getting "An error occured" dialog every time they go to view a pull request.

After they click OK to the error box, the Pull Requests still displays as expected and can be approved and merged.

However the same error may be shown on merge even though the merge still works. This happens to all our users who are not project admins.

The log below is shown in the atlassian-bitbucket.log every time the pop up is displayed on Bitbucket Server UI:

2015-07-06 12:19:37,466 ERROR [http-nio-8443-exec-141] user @1HGFTZFx739x61282x5 adse4s IP "GET /rest/api/latest/projects/CB/repos/project/pull-requests/142/merge HTTP/1.1" s.b.s.SsccRepositoryMergeRequestCheck 
com.atlassian.bitbucket.exception.AuthorisationException: You are not permitted to access this resource
	at com.atlassian.bitbucket.internal.aop.ExceptionRewriteAdvice.afterThrowing(ExceptionRewriteAdvice.java:36) ~[bitbucket-platform-3.10.2.jar:na]
	at se.bjurr.sscc.SsccRepositoryMergeRequestCheck.check(SsccRepositoryMergeRequestCheck.java:53) ~[na:na]
	at com.atlassian.bitbucket.internal.pull.DefaultMergeRequestCheckService.doCheck(DefaultMergeRequestCheckService.java:73) [bitbucket-service-impl-3.10.2.jar:na]
	... 
	... 

This only started occurring after upgrade from 3.10.0 to 3.10.2.

原因

The issue happens after the code goes through the code of the Simple Bitbucket Server Commit Checker add-on (line at se.bjurr.sscc.SsccRepositoryMergeRequestCheck.check(SsccRepositoryMergeRequestCheck.java:53) ~[na:na])

回避策

Disable the Simple Bitbucket Server Commit Checker add-on.

ソリューション

Please report this issue to the vendor's public issue tracker so they can fix it.


最終更新日: 2023 年 10 月 25 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.