An error occured is shown every time users see a Pull Request
This Knowledge Base article was written specifically for the Atlassian Server platform and may be self applied.
If you are an Atlassian Cloud customer and you wish for Atlassian Cloud Support to perform this procedure for you please file a support request referencing this article.
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-stash.log every time the pop up is displayed on Stash 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.stash.exception.AuthorisationException: You are not permitted to access this resource at com.atlassian.stash.internal.aop.ExceptionRewriteAdvice.afterThrowing(ExceptionRewriteAdvice.java:36) ~[stash-platform-3.10.2.jar:na] at se.bjurr.sscc.SsccRepositoryMergeRequestCheck.check(SsccRepositoryMergeRequestCheck.java:53) ~[na:na] at com.atlassian.stash.internal.pull.DefaultMergeRequestCheckService.doCheck(DefaultMergeRequestCheckService.java:73) [stash-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 Stash Commit Checker add-on (line at se.bjurr.sscc.SsccRepositoryMergeRequestCheck.check(SsccRepositoryMergeRequestCheck.java:53) ~[na:na])
Disable the Simple Stash Commit Checker add-on.
Please report this issue to the vendor's public issue tracker so they can fix it.