I am trying to migrate one space from our on-premises installation to Confluence Cloud. Everything is set up:
- I am choosing to Migrate spaces (I only select one space)
- I am choosing to Migrate users related to the selected spaces
- Apps: None. Even though I have set the Draw.io Confluence Plugin to "Needed in Cloud": it doesn't show up in the migration and None is the only option
The export of the space fails at 40% in both development and production environments with the following error in the logs:
2022-05-13 10:06:34,638 INFO [Caesium-1-3] [service.stepexecutor.space.SpaceExportExecutor] info Initiating space export for spaceKey: ABCD planId: 54aed50f-0ccc-4811-83f0-a498ea8c44dd
-- stepConfig: {"spaceKey":"ABCD","fileId":"1ba14f60-d09e-4fff-bd86-58fa7e19e3a6","cloudId":"9e1ce7f8-2061-4dda-805e-4c5d60ce3b8c"} | cloudId: 9e1ce7f8-2061-4dda-805e-4c5d60ce3b8c | planName: ToCloudMigration02 | stepType: CONFLUENCE_EXPORT | stepId: c2817bb1-4152-426d-b7bb-38a0dfce51f3 | planId: 54aed50f-0ccc-4811-83f0-a498ea8c44dd | cloudUrl: https://acme.atlassian.net | taskName: Migrate space ABCD | taskId: 4a495af7-f063-47f6-958c-d3103f634cd3
2022-05-13 10:06:36,265 ERROR [Caesium-1-3] [agent.service.stepexecutor.ProgressTracker] error Step failed, message: Failed to export [cloudId=9e1ce7f8-2061-4dda-805e-4c5d60ce3b8c,fileId=1ba14f60-d09e-4fff-bd86-58fa7e19e3a6,spaceKey=ABCD]
-- stepConfig: {"spaceKey":"ABCD","fileId":"1ba14f60-d09e-4fff-bd86-58fa7e19e3a6","cloudId":"9e1ce7f8-2061-4dda-805e-4c5d60ce3b8c"} | cloudId: 9e1ce7f8-2061-4dda-805e-4c5d60ce3b8c | planName: ToCloudMigration02 | stepType: CONFLUENCE_EXPORT | stepId: c2817bb1-4152-426d-b7bb-38a0dfce51f3 | planId: 54aed50f-0ccc-4811-83f0-a498ea8c44dd | cloudUrl: https://acme.atlassian.net | taskName: Migrate space ABCD | taskId: 4a495af7-f063-47f6-958c-d3103f634cd3
java.lang.NullPointerException
at com.atlassian.migration.agent.export.SpaceNoAttachmentsXmlExporter.configureXmlExporter(SpaceNoAttachmentsXmlExporter.java:83)
at com.atlassian.migration.agent.export.SpaceNoAttachmentsXmlExporter.doExportImpl(SpaceNoAttachmentsXmlExporter.java:76)
at com.atlassian.migration.agent.export.SpaceNoAttachmentsXmlExporter.lambda$doExport$1(SpaceNoAttachmentsXmlExporter.java:71)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2022-05-13 10:06:43,517 INFO [Caesium-1-4] [service.stepexecutor.export.SpaceExportCacheService] removeExpiredCacheEntries Removing export cache entries that have exceeded their TTL.
The Users and groups migration prior to the space export succeeds every time before I hit this error.