Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
6.2, 6.2.7
-
6.02
-
Description
Steps to Reproduce:
- Go to JIRA Administration > Add-ons > Manage Add-ons
- For JIRA 6.2.0 find the Fisheye Plugin and click update.
- For JIRA with the version 6.2.1 and above, download the plugin and Upload it.
- Wait until the installation finished.
Expected Result:
As shown in the JIRA FishEye/Stash Plugin the plugin is supported for JIRA 6.2 hence the plugin is installed correctly.
Actual Result:
The plugin installed and cannot be enabled. With the screen shot and logs shown like below.
2014-08-13 23:05:21,100 ThreadPoolAsyncTaskExecutor::Thread 20 ERROR admin 1385x201x1 1fb6j4s 0:0:0:0:0:0:0:1 /rest/plugins/1.0/ [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.plugins.jira-fisheye-plugin, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'showPanelHelper' defined in URL [bundle://136.0:0/META-INF/spring/jira-fisheye-plugin-components.xml]: Cannot resolve reference to bean 'stashCommitService' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'stashCommitService' defined in URL [bundle://136.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.applinks.api.ApplicationLinkService]: : Error loading class [com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl] for bean with name 'refreshManager' defined in URL [bundle://136.0:0/META-INF/spring/atlassian-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl not found from bundle [JIRA FishEye Plugin (com.atlassian.jira.plugins.jira-fisheye-plugin)]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl] for bean with name 'refreshManager' defined in URL [bundle://136.0:0/META-INF/spring/atlassian-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl not found from bundle [JIRA FishEye Plugin (com.atlassian.jira.plugins.jira-fisheye-plugin)] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104) ... Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'stashCommitService' defined in URL [bundle://136.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.applinks.api.ApplicationLinkService]: : Error loading class [com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl] for bean with name 'refreshManager' defined in URL [bundle://136.0:0/META-INF/spring/atlassian-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl not found from bundle [JIRA FishEye Plugin (com.atlassian.jira.plugins.jira-fisheye-plugin)]; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl] for bean with name 'refreshManager' defined in URL [bundle://136.0:0/META-INF/spring/atlassian-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl not found from bundle [JIRA FishEye Plugin (com.atlassian.jira.plugins.jira-fisheye-plugin)] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:591) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) ... Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl] for bean with name 'refreshManager' defined in URL [bundle://136.0:0/META-INF/spring/atlassian-plugins-components.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl not found from bundle [JIRA FishEye Plugin (com.atlassian.jira.plugins.jira-fisheye-plugin)] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1144) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:524) ... Caused by: java.lang.NoClassDefFoundError: com.atlassian.jirafisheyeplugin.config.RefreshManagerImpl not found from bundle [JIRA FishEye Plugin (com.atlassian.jira.plugins.jira-fisheye-plugin)] at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:112) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156) ... Caused by: java.lang.NoClassDefFoundError: com/atlassian/jira/cluster/ClusterMessageConsumer at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) ... Caused by: java.lang.ClassNotFoundException: com.atlassian.jira.cluster.ClusterMessageConsumer at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547) ...
Notes:
While this issue is not affecting JIRA 6.3.3 and the update button is not showing in JIRA 6.2.1 and above, the information from the page of JIRA FishEye/Stash Plugin should be updated as it can be found by "Googling" it and by updating the page should able to prevent user encountering this issue.
Workaround:
By reverting back the plugin version to the version of the bundled plugin could make the plugin to the working state again. The steps are:
- Stop JIRA
- navigate to JIRA Home Folder > plugins > installed-plugins
- find the JIRA Fisheye Plugin (jira-fisheye-plugin-6.X.jar)
- remove the plugin from the folder. (this will make JIRA to revert back to the bundled plugin version on the next start)
- Start JIRA.
Attachments
Issue Links
- is duplicated by
-
JRASERVER-39640 Fisheye plugin 6.3.6 cannot be enabled in JIRA
- Closed