• Community
  • Products
  • Jira
  • Questions
  • GreenHopper is currently unavailable. This might be because an upgrade task has failed to run or has not not yet completed.

GreenHopper is currently unavailable. This might be because an upgrade task has failed to run or has not not yet completed.

We can't use the latest Greenhopper with JIRA 5.2 and the latest UPM -- we get the following :

2013-01-03 17:42:44,751 http-bio-8443-exec-43 ERROR rizwank 1062x6069x1 injqeg 172.16.200.52 /sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: com.atlassian.greenhopper.service.rank.RankException: Rank index was requested before the plugin was upgraded fully

com.atlassian.greenhopper.service.rank.RankException: Rank index was requested before the plugin was upgraded fully

        at com.atlassian.greenhopper.service.rank.RankIndexServiceImpl$RankIndexSupplier.get(RankIndexServiceImpl.java:397)

        at com.atlassian.greenhopper.service.rank.RankIndexServiceImpl$RankIndexSupplier.get(RankIndexServiceImpl.java:377)

        at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:109)

        at com.atlassian.greenhopper.service.rank.RankIndexServiceImpl.getIndex(RankIndexServiceImpl.java:374)

        at com.atlassian.greenhopper.service.rank.RankIndexServiceImpl.fetchCreate(RankIndexServiceImpl.java:340)

        at com.atlassian.greenhopper.service.rank.RankIndexServiceImpl.getIssuePosition(RankIndexServiceImpl.java:72)

        at com.atlassian.greenhopper.customfield.rank.RankCFType.getValueFromIssue(RankCFType.java:33)

        at com.atlassian.jira.issue.fields.CustomFieldImpl.getValue(CustomFieldImpl.java:384)

        at com.atlassian.jira.issue.fields.CustomFieldImpl.hasValue(CustomFieldImpl.java:1263)

        at sun.reflect.GeneratedMethodAccessor398.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:381)

        at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:370)

        at com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30)

        at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)

        at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:262)

        at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:470)

        at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:62)

        at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:85)

        at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)

        at org.apache.velocity.runtime.directive.Foreach.performIteration(Foreach.java:393)

        at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:316)

        at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)

        at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)

        at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)

        at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)

        at org.apache.velocity.Template.merge(Template.java:328)

        at org.apache.velocity.Template.merge(Template.java:235)

        at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:381)

        at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:67)

        at com.atlassian.jira.template.velocity.DefaultVelocityTemplatingEngine$DefaultRenderRequest.asHtml(DefaultVelocityTemplatingEngine.java:104)

        at com.atlassian.jira.plugin.AbstractJiraModuleDescriptor.getHtml(AbstractJiraModuleDescriptor.java:112)

        at com.atlassian.jira.issue.views.IssueXMLView.getBody(IssueXMLView.java:193)

        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)

        at com.sysbliss.jira.plugins.workflow.servlet.JWDSendRedirectFilter.doFilter(JWDSendRedirectFilter.java:25)

        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) 

        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) 

        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)

        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33)

        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)

        at com.atlassian.jira.web.filters.PathMatchingEncodingFilter.doFilter(PathMatchingEncodingFilter.java:49)

        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at com.atlassian.jira.startup.JiraStartupChecklistFilter.doFilter(JiraStartupChecklistFilter.java:74)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at com.atlassian.multitenant.servlet.MultiTenantServletFilter.doFilter(MultiTenantServletFilter.java:91)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)

        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at java.lang.Thread.run(Unknown Source)

3 answers

1 accepted

0 vote
Yew Teck En Atlassian Team Jan 03, 2013

Hi Ultra,

I assume you just upgraded your greenhopper. A full logs may be required to see what actually going as the installation of greenhopper may be unsucessful. It would best to create a support request to Atlassian at:

https://support.atlassian.com

In the support request, provide the logs and the details of upgrade on greenhopper.

have the same problem. just upgraded greenhopper. and now I`m unable to use it

A number of customers are reporting that this issue is occurring because of database permissions, as described in the following thread, so please check that the JIRA user has full permissions over the database as this has fixed the problem for a number of customers: https://answers.atlassian.com/questions/83850/greenhopper-is-currently-unavailable-this-might-be-because-an-upgrade-task-has-failed-to-run-or-has-not-not-yet-completed

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

100 views 0 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you