Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,045
Community Members
 
Community Events
176
Community Groups

Confluence server to cloud migration failing with java.lang.NullPointerException

Edited

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.

1 answer

draw.io does have a pre-migration step for Cloud migrations. Info can be found here:

They recommend doing this on a test instance. Their wording makes it sound like you must convert the entire site at the same time (you cannot convert a single Space) and that the existing pages will break (make site read-only and immediately migrate to Cloud).

Their wording isn't very clear on this, so you may want to reach out to their support team if you cannot use a test instance.

 

If you have links to Confluence pages within your diagrams, you also need to do this (the CCMA App Assessment should have shown you this link - it's the 'Cloud migration pathway' link on their Marketplace listing):

 

Since draw.io data is stored within the page and page attachments, it does not require a separate CCMA step, which is why it is not listed.

Thanks, we're on 7.14.1 so will upgrade. I will check the known issues next time, cheers.

I think the draw.io migration guide only applies if you have links to confluence docs in your diagrams (which we don't for the space I'm migrating).

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events