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

0 vote
Colin Goudie Community Champion Jul 16, 2011
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

0 vote
Colin Goudie Community Champion Aug 04, 2011

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
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
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,204 views 10 18
Read article

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