Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
2.3, 2.4.3
-
Severity 3 - Minor
-
2
-
Description
As per JIRA Service Desk compatibility information from the Marketplace it looks like JIRA Service Desk 2.3.0 to 2.4.3 is compatible up to JIRA 6.4.13
This information isn't correct. In my test upgrade from JIRA 6.3.15 to 6.4.13 i see that the JSD version (2.3.0 to 2.4.3) can't be enabled.
2016-06-15 20:56:03,298 ThreadPoolAsyncTaskExecutor::Thread 19 ERROR [plugin.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin 'com.atlassian.jira.plugins.workinghours' org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'launcher': Invocation of init method failed; nested exception is java.lang.AbstractMethodError at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:147) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1331) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) 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.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.AbstractMethodError at com.atlassian.cache.memory.MemoryCacheManager.createCacheBuilder(MemoryCacheManager.java:158) at com.atlassian.cache.memory.MemoryCacheManager.access$000(MemoryCacheManager.java:28) at com.atlassian.cache.memory.MemoryCacheManager$3.get(MemoryCacheManager.java:139) at com.atlassian.cache.memory.MemoryCacheManager$3.get(MemoryCacheManager.java:119) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303) at com.atlassian.cache.impl.AbstractCacheManager.getCache(AbstractCacheManager.java:181) at com.atlassian.cache.compat.delegate.DelegatingCacheFactory.getCache(DelegatingCacheFactory.java:89) at com.atlassian.cache.compat.CompatibilityCacheFactory.getCache(CompatibilityCacheFactory.java:92) at com.atlassian.jira.plugins.workinghours.internal.cache.CacheFactoryManager.getCache(CacheFactoryManager.java:52) at com.atlassian.jira.plugins.workinghours.internal.calendar.CalendarManagerImpl.onSpringContextStarted(CalendarManagerImpl.java:78) at com.atlassian.jira.plugins.workinghours.internal.lifecycle.Launcher.onSpringContextStarted(Launcher.java:35) <+3> (NativeMethodAccessorImpl.java:62) (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:297) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:250) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:144) ... 21 more 2016-06-15 20:56:03,307 ThreadPoolAsyncTaskExecutor::Thread 19 ERROR [extender.internal.activator.ContextLoaderListener] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassian.jira.plugins.workinghours, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'launcher': Invocation of init method failed; nested exception is java.lang.AbstractMethodError at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:147) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1331) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) 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.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.AbstractMethodError at com.atlassian.cache.memory.MemoryCacheManager.createCacheBuilder(MemoryCacheManager.java:158) at com.atlassian.cache.memory.MemoryCacheManager.access$000(MemoryCacheManager.java:28) at com.atlassian.cache.memory.MemoryCacheManager$3.get(MemoryCacheManager.java:139) at com.atlassian.cache.memory.MemoryCacheManager$3.get(MemoryCacheManager.java:119) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303) at com.atlassian.cache.impl.AbstractCacheManager.getCache(AbstractCacheManager.java:181) at com.atlassian.cache.compat.delegate.DelegatingCacheFactory.getCache(DelegatingCacheFactory.java:89) at com.atlassian.cache.compat.CompatibilityCacheFactory.getCache(CompatibilityCacheFactory.java:92) at com.atlassian.jira.plugins.workinghours.internal.cache.CacheFactoryManager.getCache(CacheFactoryManager.java:52) at com.atlassian.jira.plugins.workinghours.internal.calendar.CalendarManagerImpl.onSpringContextStarted(CalendarManagerImpl.java:78) at com.atlassian.jira.plugins.workinghours.internal.lifecycle.Launcher.onSpringContextStarted(Launcher.java:35) <+3> (NativeMethodAccessorImpl.java:62) (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:297) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:250) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:144) ... 21 more 2016-06-15 20:56:49,842 localhost-startStop-1 INFO [atlassian.plugin.manager.DefaultPluginManager] Disabling com.atlassian.servicedesk 2016-06-15 20:56:49,847 localhost-startStop-1 ERROR [plugin.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.servicedesk' never resolved service '&workingHoursCalculatorService' with filter '(&(objectClass=com.atlassian.jira.plugins.workinghours.api.calculator.WorkingHoursCalculatorService)(objectClass=com.atlassian.jira.plugins.workinghours.api.calculator.WorkingHoursCalculatorService))' 2016-06-15 20:56:49,847 localhost-startStop-1 ERROR [plugin.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.servicedesk' never resolved service '&calendarManager' with filter '(&(objectClass=com.atlassian.jira.plugins.workinghours.api.calendar.CalendarManager)(objectClass=com.atlassian.jira.plugins.workinghours.api.calendar.CalendarManager))' 2016-06-15 20:56:49,847 localhost-startStop-1 ERROR [plugin.osgi.factory.OsgiPlugin] Plugin 'com.atlassian.servicedesk' never resolved service '&calendarService' with filter '(&(objectClass=com.atlassian.jira.plugins.workinghours.api.calendar.CalendarService)(objectClass=com.atlassian.jira.plugins.workinghours.api.calendar.CalendarService))' 2016-06-15 20:56:49,866 localhost-startStop-1 ERROR [atlassian.plugin.manager.PluginEnabler] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.servicedesk
The problem can be easy reproduced with a clean JIRA 6.4.13 default installation and these JIRA Service Desk versions. After a little bit of testing, the problem starts with JIRA 6.4.12.
JIRA Service Desk 2.3.0 to 2.4.3 works only up to JIRA 6.4.11.