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

App migrations stuck because migrationGateway.createAppData(...) is throwing NullPointerException

    XMLWordPrintable

Details

    • Severity 2 - Major
    • Hide

      Fixed with version 1.10.2

      Show
      Fixed with version 1.10.2

    Description

      Issue Summary

      migrationGateway.createAppData(...) throwing NullPointerException in JCMA when the app migration code executes this method asynchronously after `onStartAppMigration()` has returned. 

      public void onStartAppMigration(
          AppCloudMigrationGateway migrationGateway,
          String transferId,
          MigrationDetailsV1 migrationDetails
        ) {
          doMigrationLater(
              () -> gateway.createAppData(transferId)
          );
        }

      Resources

      Known Impacted Apps

      • Proforma

      Steps to Reproduce

      1. Install either 1.9.17, 1.10.0 or 1.10.1 of JCMA
      2. Install a known impacted app
      3. Run migration with impacted app
      4. App migration is stuck with no logs indicating app data upload is successful or a NullPointerException in migrationGateway.createAppData() is found in the logs

      Expected Results

      App data is uploaded successfully.

      Actual Results

      App data fails to upload and app migration is stuck

      Workaround

      Downgrade to JCMA 1.9.16

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: