Why does JIRA crash after Greenhopper plugin install

I'm running JIRA 4.3, and installed the Greenhopper plugin via the Plugin Admin interface. I restarted JIRA fine, but when I click on any of the Greenhopper links in the left-side menu bar, for example "License Details", JIRA crashes displaying a Java stack trace in my browser window. Looks like it's a Spring bean issue. Below is the top of the stack trace:

HTTP Status 404 - Could not execute action [GHLicense]:Error creating bean with name 'com.pyxis.greenhopper.jira.actions.LicenseAction': Unsatisfied dependency expressed through constructor argument with index 0 of type [com.pyxis.greenhopper.GreenHopper]: : No unique bean of type [com.pyxis.greenhopper.GreenHopper] is defined: Unsatisfied dependency of type [interface com.pyxis.greenhopper.GreenHopper]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.pyxis.greenhopper.GreenHopper] is defined: Unsatisfied dependency of type [interface com.pyxis.greenhopper.GreenHopper]: expected at least 1 matching bean<p><small><small><pre>org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.pyxis.greenhopper.jira.actions.LicenseAction': Unsatisfied dependency expressed through constructor argument with index 0 of type [com.pyxis.greenhopper.GreenHopper]: : No unique bean of type [com.pyxis.greenhopper.GreenHopper] is defined: Unsatisfied dependency of type [interface com.pyxis.greenhopper.GreenHopper]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.pyxis.greenhopper.GreenHopper] is defined: Unsatisfied dependency of type [interface com.pyxis.greenhopper.GreenHopper]: expected at least 1 matching bean at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:591) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at

3 answers

We had the same issue with a JIRA instance on Contegix. I think for some reason, either updating versions and totally removing all old caches of the plugin we ended up getting it to work. I will have a look through my notes to see if I can remember anything specific

Hello,

This really sounds like one for the support team. The only thing that comes to mind is an incompatible version of GreenHopper has been installed and that should not happen as you used the Plugin Admin interface. You may like to check that the GreenHopper version is 5.6.x which is JIRA 4.3 compatible.

Thank you.

Nicholas Muldoon

We just found out that if there are duplicate webwork actions (In this case LicenseAction) between two or more V2 plugins then you get this error. (Sometimes at random)

I would suggest disabling any third party plugins one at a time to identify which one.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

17,650 views 18 20
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