"An error occurred" dialog when accessing pull request which has been blocked

Issue #27 resolved
Alastair Bain created an issue

On loading a pull request which a reviewer has previously blocked or paused, I get an "'An error occurred" pop-up. If I just close the pop-up, everything seems to be fine, but obviously this is not acceptable for users.

In the Stash log I see: 2014-06-10 14:36:02,704 ERROR [http-bio-7990-exec-34] AlastairB 876x229777x5 1raj1xh 172.19.40.117,192.168.2.106 "GET /rest/block-pull-request/1.0/block-events/134/3/1402283723915/1402367762528 HTTP/1.1" c.a.p.r.c.e.j.ThrowableExceptionMapper Uncaught exception thrown by REST service java.lang.NoSuchMethodError: com.atlassian.stash.user.StashUser.getType()Lcom/atlassian/stash/user/UserType; at com.bolyuba.stash.plugin.block.rest.BlockPullRequestResource.addUser(BlockPullRequestResource.java:269) ~[plugin_6424383070567352307_stash-block-pullrequest-plugin-1.3.0_1402366905737.jar:na] at com.bolyuba.stash.plugin.block.rest.BlockPullRequestResource.blockEvents(BlockPullRequestResource.java:181) ~[plugin_6424383070567352307_stash-block-pullrequest-plugin-1.3.0_1402366905737.jar:na] at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) [applinks-plugin-4.0.10_1384953544000.jar:na] at com.atlassian.stash.internal.spring.security.StashAuthenticationFilter.doFilter(StashAuthenticationFilter.java:92) [StashAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doInsideSpringSecurityChain(BeforeLoginPluginAuthenticationFilter.java:111) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:77) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:100) [atlassian-trusted-apps-core-3.0.2.jar:na] at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:61) [atlassian-oauth-service-provider-plugin-1.9.0-m3_1383869486000.jar:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doBeforeBeforeLoginFilters(BeforeLoginPluginAuthenticationFilter.java:89) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.web.auth.BeforeLoginPluginAuthenticationFilter.doFilter(BeforeLoginPluginAuthenticationFilter.java:75) [BeforeLoginPluginAuthenticationFilter.class:na] at com.atlassian.stash.internal.request.DefaultRequestManager.doAsRequest(DefaultRequestManager.java:72) [stash-service-impl-2.10.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.7.0_03] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_03]

Comments (4)

  1. Alastair Bain reporter

    We're on Stash version 2.10, I see this isn't in the supported range, so this is possibly a non-issue.

  2. Log in to comment