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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.