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

Migrating some spaces with CCMA results in Invalid byte 2 of 4-byte UTF-8 sequence error

    XMLWordPrintable

Details

    • 3
    • Severity 3 - Minor

    Description

      Issue Summary

      Sometimes a space migration can fail CCMA with an encoding error: Invalid byte 2 of 4-byte UTF-8 sequence error

      Steps to Reproduce

      1. Migrate a space with CCMA

      Expected Results

      The space migration completes successfully

      Actual Results

      The space migration will fail and you'll see the error

      The below exception is thrown in the xxxxxxx.log file:

      com.atlassian.confluence.importexport.v2.ImportExportException: com.atlassian.confluence.importexport.v2.ImportExportException: org.basex.core.BaseXException: "e0e577cc-3568-4d1e-b772-f8331b8cee31-db.xml" (Line 275390): Invalid byte 2 of 4-byte UTF-8 sequence.
      com.atlassian.confluence.importexport.v2.space.ImportSpaceProcessor.processImport(ImportSpaceProcessor.java:156)
      com.atlassian.confluence.importexport.v2.space.ImportSpaceProcessor.processImport(ImportSpaceProcessor.java:67)
      com.atlassian.confluence.importexport.v2.ImportTaskRunner.processImport(ImportTaskRunner.java:139)
      com.atlassian.confluence.importexport.v2.ImportTaskRunner.lambda$runTaskInternal$0(ImportTaskRunner.java:102)
      com.atlassian.confluence.importexport.v2.ImportTaskRunner.withHeartbeat(ImportTaskRunner.java:91)
      com.atlassian.confluence.importexport.v2.ImportTaskRunner.lambda$runTaskInternal$1(ImportTaskRunner.java:103)
      com.atlassian.confluence.core.flags.ImportRunningThreadLocalFlag.executeCallable(ImportRunningThreadLocalFlag.java:32)
      com.atlassian.confluence.importexport.v2.ImportTaskRunner.withLocalFlag(ImportTaskRunner.java:97)
      com.atlassian.confluence.importexport.v2.ImportTaskRunner.lambda$runTaskInternal$2(ImportTaskRunner.java:104)
      com.atlassian.confluence.importexport.v2.ImportTaskRunner.withMetrics(ImportTaskRunner.java:68)
      com.atlassian.confluence.importexport.v2.ImportTaskRunner.runTaskInternal(ImportTaskRunner.java:105)
      com.atlassian.confluence.importexport.v2.space.ImportSpaceTaskRunner.runTask(ImportSpaceTaskRunner.java:49)
      ..
      Caused by: com.atlassian.confluence.importexport.v2.ImportExportException: org.basex.core.BaseXException: "e0e577cc-3568-4d1e-b772-f8331b8cee31-db.xml" (Line 275390): Invalid byte 2 of 4-byte UTF-8 sequence.
      com.atlassian.confluence.importexport.v2.xml.ImportXmlDataExtractor.initialize(ImportXmlDataExtractor.java:129)
      
      Caused by: org.basex.core.BaseXException: "e0e577cc-3568-4d1e-b772-f8331b8cee31-db.xml" (Line 275390): Invalid byte 2 of 4-byte UTF-8 sequence.
      
      

      Workaround

      Generate a manual space export from Confluence Server and trigger the space import manually on the destination Cloud instance.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nlopez@atlassian.com Nancy Lopez
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: