-
Bug
-
Resolution: Obsolete
-
Low
-
5.3 (JIRA 4.2 Compatible)
-
None
-
WebSphere 6.1.0.27
Windows Server 2003
Java 1.5
-
5.03
-
JIRA fails initialization of the Greenhopper plugin during startup with the following exception.
2010-10-04 14:41:23,738 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.oauth.serviceprovider, com.atlassian.sal.jira, com.atlassian.gadgets.publisher, com.atlassian.templaterenderer.api], 57 seconds remaining 2010-10-04 14:41:24,769 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.gadgets.publisher], 56 seconds remaining 2010-10-04 14:41:25,769 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.gadgets.publisher], 55 seconds remaining 2010-10-04 14:41:26,769 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.gadgets.publisher], 54 seconds remaining 2010-10-04 14:41:28,378 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.gadgets.publisher], 52 seconds remaining 2010-10-04 14:41:29,565 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.gadgets.publisher], 51 seconds remaining 2010-10-04 14:41:30,768 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.gadgets.publisher], 50 seconds remaining 2010-10-04 14:41:31,768 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.gadgets.publisher], 49 seconds remaining 2010-10-04 14:41:32,783 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.gadgets.publisher], 48 seconds remaining 2010-10-04 14:41:33,955 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.atlassian.gadgets.publisher], 47 seconds remaining 2010-10-04 14:41:41,422 server.startup : 0 INFO [atlassian.plugin.loaders.ScanningPluginLoader] Plugin Unit: d:\jira\plugins\installed-plugins\jira-greenhopper-plugin-5.3-beta3.jar (1285940614780) created 2010-10-04 14:41:43,109 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.pyxis.greenhopper.jira], 60 seconds remaining 2010-10-04 14:41:44,109 server.startup : 0 INFO [atlassian.plugin.util.WaitUntil] Plugins that have yet to be enabled: [com.pyxis.greenhopper.jira], 59 seconds remaining 2010-10-04 14:41:44,359 Spring executor 12 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the Spring context for plugin com.pyxis.greenhopper.jira org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.greenhopper.plugin.link.DefaultLinkProviderManager] for bean with name 'gh-linkProviderManager' defined in URL [bundle://42.0:1/com/atlassian/greenhopper/plugin/link/DefaultLinkProviderManager.class]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: (com/atlassian/greenhopper/plugin/link/DefaultLinkProviderManager) bad major version at offset=6 at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1144) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:524) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1177) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:758) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:422) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:811) Caused by: java.lang.UnsupportedClassVersionError: (com/atlassian/greenhopper/plugin/link/DefaultLinkProviderManager) bad major version at offset=6 at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:258) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1872) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758) at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674) at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1543) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) at org.springframework.util.ClassUtils.forName(ClassUtils.java:211) at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:385) at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1138) ... 13 more 2010-10-04 14:41:44,359 Spring executor 12 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.pyxis.greenhopper.jira, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.atlassian.greenhopper.plugin.link.DefaultLinkProviderManager] for bean with name 'gh-linkProviderManager' defined in URL [bundle://42.0:1/com/atlassian/greenhopper/plugin/link/DefaultLinkProviderManager.class]: problem with class file or dependent class; nested exception is java.lang.UnsupportedClassVersionError: (com/atlassian/greenhopper/plugin/link/DefaultLinkProviderManager) bad major version at offset=6 at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1144) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:524) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1177) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:758) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:422) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) at java.lang.Thread.run(Thread.java:811) Caused by: java.lang.UnsupportedClassVersionError: (com/atlassian/greenhopper/plugin/link/DefaultLinkProviderManager) bad major version at offset=6 at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:258) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1872) at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758) at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:674) at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1543) at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:887) at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99) at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) at org.springframework.util.ClassUtils.forName(ClassUtils.java:211) at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:385) at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1138) ... 13 more 2010-10-04 14:41:45,109 server.startup : 0 INFO [atlassian.plugin.manager.DefaultPluginManager] Plugin system started in 0:01:25.656 2010-10-04 14:41:45,890 server.startup : 0 INFO [atlassian.jira.startup.JiraStartupLogger] ___ Plugin System Started _________________
The plugin is placed in the JIRA_HOME\plugins\installed-plugins directory, and the directory is added to the JVMs class path.
JIRA is working, while the Greenhopper plugin is disabled. When I try enabling the plugin from the administration UI, I get the following message.
GreenHopper Description: Rich Management Client for JIRA (Build: #128546) Vendor: Atlassian Plugin Version: 5.3-beta3 JIRA Version: 4.2 Installation Mode: Managed There were errors loading this plugin: There was a problem loading the module descriptor: java.lang.Void.<br/>Unable to enable web fragment