Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-39640

Fisheye plugin 6.3.6 cannot be enabled in JIRA

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Medium
    • None
    • 6.2, 6.2.7
    • None

    Description

      When enabling the Fisheye plugin, the following stack trace is thrown and it cannot be enabled:

      2014-08-21 14:27:47,248 ThreadPoolAsyncTaskExecutor::Thread 20 ERROR admin 1347x537x2 1omdoza 127.0.0.1 /rest/plugins/1.0/ [plugin.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin com.atlassian.jirafisheyeplugin
      org.springframework.beans.factory.BeanCreationException: 
      
      Error creating bean with name 'showPanelHelper' defined in URL [bundle://151.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://151.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://151.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://151.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)
      	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
      ...
      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)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at org.springframework.util.ClassUtils.forName(ClassUtils.java:211)
      	at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:385)
      	... 45 more
      Caused by: java.lang.NoClassDefFoundError: com/atlassian/jira/cluster/ClusterMessageConsumer
      	at java.lang.ClassLoader.defineClass1(Native Method)
      	at java.lang.ClassLoader.defineClass(Unknown Source)
      	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1829)
      	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:716)
      	at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
      	at java.lang.ClassLoader.loadClass(Unknown Source)
      	at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:634)
      	at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1594)
      	at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887)
      	at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)
      	... 50 more
      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)
      	at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672)
      ...
      
      2014-08-21 22:28:07,871 http-bio-8075-exec-7 ERROR admin 1348x720x1 1omdoza 127.0.0.1 /rest/plugins/1.0/com.atlassian.jirafisheyeplugin-key [atlassian.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'FishEye Config Web Fragment' of plugin 'com.atlassian.jirafisheyeplugin'. Disabling.
      java.lang.RuntimeException: Unable to enable web fragment
      	at com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor.enabled(AbstractWebFragmentModuleDescriptor.java:133)
      	at com.atlassian.plugin.web.descriptors.DefaultWebItemModuleDescriptor.enabled(DefaultWebItemModuleDescriptor.java:72)
      	at com.atlassian.plugin.web.descriptors.DefaultAbstractWebFragmentModuleDescriptor.enabled(DefaultAbstractWebFragmentModuleDescriptor.java:34)
      ...
      Caused by: com.atlassian.plugin.PluginParseException: Unable to load the module's display conditions: Could not load 'com.atlassian.jirafisheyeplugin.config.IsPriorToJiraVersion' in plugin com.atlassian.jirafisheyeplugin
      	at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditionImplementation(ConditionElementParser.java:95)
      	at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditionImplementation(ConditionElementParser.java:29)
      	at com.atlassian.plugin.web.baseconditions.AbstractConditionElementParser.makeCondition(AbstractConditionElementParser.java:116)
      ...
      Caused by: java.lang.IllegalStateException: Cannot create object because the plugin container is unavailable.
      	at com.atlassian.plugin.osgi.factory.OsgiPlugin.autowire(OsgiPlugin.java:369)
      	at com.atlassian.plugin.osgi.factory.OsgiPlugin.autowire(OsgiPlugin.java:359)
      	at com.atlassian.jira.plugin.PluginInjector.newInstance(PluginInjector.java:30)
      	at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.loadCondition(JiraWebFragmentHelper.java:46)
      	... 264 more
      

      Seems to affect only the 6.3.6 version of the plugin.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dleng Daniel Leng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: