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

Updating CCMA with Markdown Extensions for Confluence causes app preflight checks to get stuck

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • CCMA - 3.11.2
    • CCMA - 3.6.0, CCMA - 3.7.0, CCMA - 3.7.1, CCMA - 3.8.0, CCMA - 3.10.0, CCMA - 3.10.1, CCMA - 3.10.2, CCMA - 3.10.3, CCMA - 3.10.4, CCMA - 3.10.5, CCMA - 3.10.6, CCMA - 3.10.7, CCMA - 3.10.8, CCMA - 3.10.9, CCMA - 3.10.10, CCMA - 3.10.11, CCMA - 3.10.12, CCMA - 3.10.13, CCMA - 3.11.0, CCMA - 3.11.1
    • None
    • 1
    • Severity 2 - Major
    • 6
    • Hide

      We are working on a fix ASAP.

      Show
      We are working on a fix ASAP.

      Issue Summary

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Have Markdown Extensions for Confluence installed
      2. Update CCMA to 3.11.1
      3. Create a new migration plan with at least one app
      4. Go to preflight checks screen
      5. 2 app preflight checks are stuck - app data consent and app migration notifications

      Expected Results

      Preflight checks are not stuck

      Actual Results

      Preflight checks are stuck caused by error in server

      java.lang.NoClassDefFoundError: com/atlassian/migration/app/listener/DiscoverableForgeListener
      	at com.atlassian.migration.app.OsgiBundleHelper.getDiscoveredForgeListeners(OsgiBundleHelper.kt:22)
      	at com.atlassian.migration.app.OsgiBundleHelper.getDiscoveredListeners(OsgiBundleHelper.kt:15)
      	at com.atlassian.migration.app.gateway.AppCloudMigrationGatewayManager.getRegisteredAndDiscoveredListeners(AppCloudMigrationGatewayManager.kt:144)
      	at com.atlassian.migration.app.AbstractCloudMigrationRegistrar.getAccessScopesByServerAppKeys(AbstractCloudMigrationRegistrar.kt:219)
      	at com.atlassian.migration.app.AbstractCloudMigrationRegistrar.getAccessScopesByApp(AbstractCloudMigrationRegistrar.kt:226)
      	at com.atlassian.migration.agent.service.app.AppAccessScopeService.getAccessScopesDeclaredByApp(AppAccessScopeService.java:34)
      	at com.atlassian.migration.agent.service.app.AppAccessScopeService.savedAccessScopesAreCurrent(AppAccessScopeService.java:56)
      	at com.atlassian.migration.agent.service.impl.AppAssessmentFacade.getConsentStatusIfMigratable(AppAssessmentFacade.java:361)
      	at com.atlassian.migration.agent.service.impl.AppAssessmentFacade.getConsentStatus(AppAssessmentFacade.java:323)
      	at com.atlassian.migration.agent.service.impl.AppAssessmentFacade.buildAppConsentDto(AppAssessmentFacade.java:396)
      	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
      	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
      	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
      	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
      	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
      	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
      	at com.atlassian.migration.agent.service.impl.AppAssessmentFacade.getConsentApps(AppAssessmentFacade.java:227)
      	at com.atlassian.migration.agent.service.impl.AppAssessmentFacade.getRequiredConsentApps(AppAssessmentFacade.java:165)
      	at com.atlassian.migration.agent.service.check.app.consent.AppDataMigrationConsentContextProvider.apply(AppDataMigrationConsentContextProvider.java:32)
      	at com.atlassian.migration.agent.service.check.app.consent.AppDataMigrationConsentContextProvider.apply(AppDataMigrationConsentContextProvider.java:15)
      	at com.atlassian.migration.agent.service.check.AsyncCheckExecutor.lambda$executeChecker$9(AsyncCheckExecutor.java:234)
      	at com.atlassian.migration.agent.logging.LoggingContextBuilder.execute(LoggingContextBuilder.java:127)
      	at com.atlassian.migration.agent.service.check.AsyncCheckExecutor.executeChecker(AsyncCheckExecutor.java:228)
      	at com.atlassian.migration.agent.service.check.AsyncCheckExecutor.runJob(AsyncCheckExecutor.java:188)
      	at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:138)
      	at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:83)
      	at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:134)
      	at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:106)
      	at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:90)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:464)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJob(CaesiumSchedulerService.java:459)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeClusteredJobWithRecoveryGuard(CaesiumSchedulerService.java:483)
      	at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:411)
      	at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:66)
      	at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:60)
      	at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:35)
      	at java.base/java.lang.Thread.run(Thread.java:840)
      Caused by: java.lang.ClassNotFoundException: com.atlassian.migration.app.listener.DiscoverableForgeListener not found by mohamicorp-render-markdown [307] 

      Workaround

      Uninstall Markdown Extensions for Confluence then update CCMA to your desired version. Afterwards, re-install Markdown Extensions for Confluence.

              6ec6a48ca208 David Yu
              6ec6a48ca208 David Yu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: