org.alfresco.extension.bulkimport.impl.OutOfOrderBatchException

GitHub | colindstephenson | 3 months ago
  1. 0

    Incorrect exception handling around out-of-order retries

    GitHub | 1 year ago | pmonks
    org.alfresco.extension.bulkimport.impl.OutOfOrderBatchException: null While importing item: May (1 version): HEAD: <no content> <metadata>

    Root Cause Analysis

    1. org.alfresco.extension.bulkimport.impl.OutOfOrderBatchException

      No message provided

      at org.alfresco.extension.bulkimport.impl.BatchImporterImpl.getParent()
    2. org.alfresco.extension
      BatchImporterImpl$2.execute
      1. org.alfresco.extension.bulkimport.impl.BatchImporterImpl.getParent(BatchImporterImpl.java:334)
      2. org.alfresco.extension.bulkimport.impl.BatchImporterImpl.findOrCreateNode(BatchImporterImpl.java:252)
      3. org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importItem(BatchImporterImpl.java:200)
      4. org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importBatchImpl(BatchImporterImpl.java:184)
      5. org.alfresco.extension.bulkimport.impl.BatchImporterImpl.access$200(BatchImporterImpl.java:69)
      6. org.alfresco.extension.bulkimport.impl.BatchImporterImpl$2.execute(BatchImporterImpl.java:161)
      6 frames
    3. org.alfresco.repo
      RetryingTransactionHelper.doInTransaction
      1. org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
      1 frame
    4. org.alfresco.extension
      BatchImporterImpl$1.doWork
      1. org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importBatchInTxn(BatchImporterImpl.java:152)
      2. org.alfresco.extension.bulkimport.impl.BatchImporterImpl.access$000(BatchImporterImpl.java:69)
      3. org.alfresco.extension.bulkimport.impl.BatchImporterImpl$1.doWork(BatchImporterImpl.java:130)
      3 frames
    5. org.alfresco.repo
      AuthenticationUtil.runAs
      1. org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
      1 frame
    6. org.alfresco.extension
      Scanner.run
      1. org.alfresco.extension.bulkimport.impl.BatchImporterImpl.importBatch(BatchImporterImpl.java:124)
      2. org.alfresco.extension.bulkimport.impl.Scanner.submitCurrentBatch(Scanner.java:333)
      3. org.alfresco.extension.bulkimport.impl.Scanner.submit(Scanner.java:294)
      4. org.alfresco.extension.bulkimport.source.fs.FilesystemBulkImportSource.scanDirectory(FilesystemBulkImportSource.java:223)
      5. org.alfresco.extension.bulkimport.source.fs.FilesystemBulkImportSource.scanDirectory(FilesystemBulkImportSource.java:245)
      6. org.alfresco.extension.bulkimport.source.fs.FilesystemBulkImportSource.scanDirectory(FilesystemBulkImportSource.java:245)
      7. org.alfresco.extension.bulkimport.source.fs.FilesystemBulkImportSource.scanDirectory(FilesystemBulkImportSource.java:245)
      8. org.alfresco.extension.bulkimport.source.fs.FilesystemBulkImportSource.scanDirectory(FilesystemBulkImportSource.java:245)
      9. org.alfresco.extension.bulkimport.source.fs.FilesystemBulkImportSource.scanFiles(FilesystemBulkImportSource.java:172)
      10. org.alfresco.extension.bulkimport.impl.Scanner.run(Scanner.java:184)
      10 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame