Jira Gerrit plugin not working with Jira 7.0.5 or Jira 7.0.7

Boris Yakimov January 13, 2016

The Gerrit Reviews panel in JIRA issues shows no reviews although we can see the reviews in Gerrit. It generates an exception in the JIRA logs (error is below).

It used to work in JIRA 6 before we upgraded to Jira7. I even updated to JIRA 7.0.7 when the update became available but did not help.

2016-01-13 09:25:35,268 http-bio-8443-exec-177 ERROR a.legkiy 565x45073x1 1caebki 194.6.233.46 /rest/greenhopper/1.0/xboard/issue/details.json [c.a.g.w.r.issue.thirdpartytabs.ThirdPartyTabModelFactory] Unable to load third party tab for com.meetme.plugins.jira.gerrit-plugin:gerrit-reviews-agile-panel
java.lang.ClassCastException: com.atlassian.jira.user.BridgedDirectoryUser cannot be cast to com.atlassian.jira.user.ApplicationUser
at com.atlassian.jira.plugin.webfragment.contextproviders.AbstractJiraContextProvider.getContextMap(AbstractJiraContextProvider.java:20)
at com.atlassian.plugin.web.model.AbstractWebItem.getContextMap(AbstractWebItem.java:30)
at com.atlassian.plugin.web.model.DefaultWebLabel.getDisplayableLabel(DefaultWebLabel.java:55)
at com.atlassian.greenhopper.web.rapid.issue.thirdpartytabs.ThirdPartyTabModelFactory.buildThirdPartyTab(ThirdPartyTabModelFactory.java:84)
at com.atlassian.greenhopper.web.rapid.issue.thirdpartytabs.ThirdPartyTabModelFactory.buildThirdPartyTabs(ThirdPartyTabModelFactory.java:65)
at com.atlassian.greenhopper.web.rapid.issue.thirdpartytabs.ThirdPartyTabModelFactory.createModel(ThirdPartyTabModelFactory.java:52)
at com.atlassian.greenhopper.web.rapid.issue.IssueEntryFactory.buildViewEntry(IssueEntryFactory.java:409)
at com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:136)
at com.atlassian.greenhopper.web.rapid.issue.IssueResource$1.call(IssueResource.java:106)
at com.atlassian.greenhopper.web.util.RestCall.response(RestCall.java:42)
at com.atlassian.greenhopper.web.AbstractResource.createResponse(AbstractResource.java:114)
at com.atlassian.greenhopper.web.AbstractResource.response(AbstractResource.java:94)
at com.atlassian.greenhopper.web.rapid.issue.IssueResource.getPageData(IssueResource.java:105)
... 2 filtered
at java.lang.reflect.Method.invoke(Method.java:497)
... 19 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178)
... 1 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73)
... 101 filtered
at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40)
... 73 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

1 answer

0 votes
jhansche January 26, 2016

Please report this error to https://github.com/MeetMe/jira-gerrit-plugin/issues

That is the official issue tracker. This is not the correct avenue for reporting bugs.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events