org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'launcher': Invocation of init method failed; nested exception is java.lang.AbstractMethodError

Atlassian JIRA | Tim Eddelbuettel | 6 months ago
  1. 0

    As per JIRA Service Desk compatibility information from the [Marketplace|https://marketplace.atlassian.com/plugins/com.atlassian.servicedesk/versions] 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. {code} 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 {code} 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.

    Atlassian JIRA | 6 months ago | Tim Eddelbuettel
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'launcher': Invocation of init method failed; nested exception is java.lang.AbstractMethodError
  2. 0

    How to test a generic class?

    Google Groups | 9 months ago | Vincent Privat
    java.lang.AssertionError: Abstract delegation: AbstractSet's equals method delegates to an abstract method: null For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    MemSQL Interface on CDH Spark over Yarn

    GitHub | 9 months ago | ecesena
    java.lang.AbstractMethodError
  5. 0

    Error securesocial 2.1.4 with Play 2.3.5 with scala 2.10.4

    Google Groups | 2 years ago | Jorge Fabá Ferrández
    java.lang.AbstractMethodError

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      No message provided

      at com.atlassian.cache.memory.MemoryCacheManager.createCacheBuilder()
    2. com.atlassian.cache
      MemoryCacheManager$3.get
      1. com.atlassian.cache.memory.MemoryCacheManager.createCacheBuilder(MemoryCacheManager.java:158)
      2. com.atlassian.cache.memory.MemoryCacheManager.access$000(MemoryCacheManager.java:28)
      3. com.atlassian.cache.memory.MemoryCacheManager$3.get(MemoryCacheManager.java:139)
      4. com.atlassian.cache.memory.MemoryCacheManager$3.get(MemoryCacheManager.java:119)
      4 frames
    3. com.atlassian.util
      ManagedLocks$ManagedLockImpl.withLock
      1. com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303)
      1 frame
    4. com.atlassian.cache
      CompatibilityCacheFactory.getCache
      1. com.atlassian.cache.impl.AbstractCacheManager.getCache(AbstractCacheManager.java:181)
      2. com.atlassian.cache.compat.delegate.DelegatingCacheFactory.getCache(DelegatingCacheFactory.java:89)
      3. com.atlassian.cache.compat.CompatibilityCacheFactory.getCache(CompatibilityCacheFactory.java:92)
      3 frames
    5. com.atlassian.jira
      CalendarManagerImpl.onSpringContextStarted
      1. com.atlassian.jira.plugins.workinghours.internal.cache.CacheFactoryManager.getCache(CacheFactoryManager.java:52)
      2. com.atlassian.jira.plugins.workinghours.internal.calendar.CalendarManagerImpl.onSpringContextStarted(CalendarManagerImpl.java:78)
      2 frames