Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-79400

Backup Manager failed with Export failed (Completed pre-export checks)

XMLWordPrintable

      Issue Summary

      Backup Manager failed with Export failed (Completed pre-export checks)

      Steps to Reproduce

      1. Navigate to Backup Manager page on the instance
      2. Trigger a backup for Cloud with attachments

      Expected Results

      Backup generated successfully

      Actual Results

      Backup failed with the following error from UI

      Export error
      Export failed (Completed pre-export checks)
      

      Error from logs:

       level: ERROR
         logger: com.atlassian.jira.plugin.backup.rest.ExportProgressHelper.privacy-safe
         m: { [-]
           di: 8ijngvfphqd4at7j
           g: WebServer
           si: jira-prod-us-20
           sv: 2020-04-28-04-25-33_2020-04-28_29f7b8126e
           t: application
         }
         message: Export LRT failed: ["Export failed (Completed pre-export checks)"]
      

      Log 2:

          err: { [-]
           class: [ [-]
             com.atlassian.jira.bc.export.ExportException
             com.atlassian.jira.bc.export.ExportException
             java.lang.NullPointerException
           ]
           msg: Export failed (Completed pre-export checks)
           stack: com.atlassian.jira.bc.export.ExportException: Export failed (Completed pre-export checks)
      	at com.atlassian.jira.bc.export.CloudExportTaskRunner.export(CloudExportTaskRunner.java:280)
      	at com.atlassian.jira.bc.export.CloudExportTaskRunner.lambda$runTaskAndStartZip$2(CloudExportTaskRunner.java:188)
      	at com.atlassian.connpool.impl.AbstractConnectionPoolProvider.withPrivatePool(AbstractConnectionPoolProvider.java:133)
      	at com.atlassian.jira.connpool.JiraViburConnectionPoolProvider.withPrivatePool(JiraViburConnectionPoolProvider.java:126)
      	at com.atlassian.jira.bc.dataimport.AbstractBackupTaskRunner.lambda$null$0(AbstractBackupTaskRunner.java:63)
      	at java.util.Optional.map(Optional.java:215)
      	at com.atlassian.jira.bc.dataimport.AbstractBackupTaskRunner.lambda$runWithSeparateContextAsync$1(AbstractBackupTaskRunner.java:62)
      	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: com.atlassian.jira.bc.export.ExportException: Export failed (Exporting avatars)
      	at com.atlassian.jira.bc.export.CloudExportTaskRunner.createExportFile(CloudExportTaskRunner.java:398)
      	at com.atlassian.jira.bc.export.CloudExportTaskRunner.export(CloudExportTaskRunner.java:254)
      	... 10 more
      Caused by: java.lang.NullPointerException
      	at com.atlassian.jira.avatar.ImageScaler.getSelectedImageData(ImageScaler.java:30)
      	at com.atlassian.jira.avatar.ImageOperations.scaleAndTagPngInInputStream(ImageOperations.java:53)
      	at com.atlassian.jira.avatar.media.ScalingAvatarImageProviderFactory.getAvatarInfo(ScalingAvatarImageProviderFactory.java:53)
      	at com.atlassian.jira.avatar.media.ScalingAvatarImageProviderFactory.getScaledPngFile(ScalingAvatarImageProviderFactory.java:41)
      	at com.atlassian.jira.bc.export.DefaultAvatarExporter.getImageFileId(DefaultAvatarExporter.java:112)
      	at com.atlassian.jira.bc.export.DefaultAvatarExporter.getAvatarWithSize(DefaultAvatarExporter.java:90)
      	at com.atlassian.jira.bc.export.DefaultAvatarExporter.lambda$getAllSizesForAvatar$0(DefaultAvatarExporter.java:81)
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
      	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:272)
      	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
      	at com.atlassian.jira.bc.export.DefaultAvatarExporter.getAvatarsToExport(DefaultAvatarExporter.java:66)
      	at com.atlassian.jira.bc.export.CloudExportTaskRunner.createExportFile(CloudExportTaskRunner.java:389)
      	... 11 more
      
         }
         ext: { [-]
           err: { [-]
             cause_location: com.atlassian.jira.avatar.ImageScaler:getSelectedImageData
             cause_type: java.lang.NullPointerException
             location: com.atlassian.jira.bc.export.CloudExportTaskRunner:export
             type: com.atlassian.jira.bc.export.ExportException
           }
           jira: { [+]
           }
           provisioningOperation: cloudExport
         }
         hostname: af1567ea7a5e
         level: ERROR
         logger: com.atlassian.jira.bc.export.CloudExportTaskRunner
         m: { [+]
         }
         message: Export failed
         micros_container: jira
         pid: 64
         product: jira
         thread: ForkJoinPool.commonPool-worker-10
         time: 2020-04-28T15:02:05.140373154Z
         timestamp: 2020-04-28T15:02:05,140Z
      

      Workaround

      Generate a backup without attachments in the mean time.

              Unassigned Unassigned
              dbraun@atlassian.com Douglas B (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated:
                Resolved: