Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-763

Cannot enable some addons after last update of CCMA

    XMLWordPrintable

Details

    • Severity 2 - Major

    Description

      Issue Summary

      After upgrading to the latest version of CCMA (3.2.4) our add-ons cannot be enabled. 

       

      Steps to Reproduce

      • upgrade CCMA to version 3.2.4
      • install latest version of Spectrum discussion

      Expected Results

      Add-on is installed and works.

      Actual Results

      Add-on cannot be enabled unless CCMA is disabled or removed

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'discussionComponentImpl' defined in URL [bundle://322.0:1/fr/spectrumgroupe/confluence/plugins/discussion/migration/DiscussionComponentImpl.class]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: 'void com.atlassian.migration.app.AppCloudMigrationGateway.registerListener(com.atlassian.migration.app.AppCloudMigrationListener)'
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1769)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:514)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:321)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:319)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
      	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:866)
      	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
      	at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:57)
      	at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:322)
      	at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
      	at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:287)
      	at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: java.lang.NoSuchMethodError: 'void com.atlassian.migration.app.AppCloudMigrationGateway.registerListener(com.atlassian.migration.app.AppCloudMigrationListener)'
      	at com.atlassian.migration.app.tracker.BoundCloudMigrationGateway.registerListener(BoundCloudMigrationGateway.java:27)
      	at fr.spectrumgroupe.confluence.plugins.discussion.migration.DiscussionComponentImpl.afterPropertiesSet(DiscussionComponentImpl.java:673)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1828)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1765)
      	... 16 more
      

      Attachments

        Activity

          People

            jrichards@atlassian.com James Richards
            95c20a29f346 Hamza Soltani
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: