Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2506

Failures in drive ScrollDescendants for a specific user id

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: None
    • Component/s: Synchronizer

      Description

      SUPINT-1847 is showing a strange issue where a user is calling NuxeoDrive.ScrollDescendants and the server will always throw a 500 error. As it seems painless for the user, we did not manage to get a report, and so we have to find a way to reproduce the issue.
      Here is the error (complete stacktrace on the SUPINT-1847 ticket):

      org.nuxeo.drive.adapter.RootlessItemException: Failed to invoke operation: NuxeoDrive.ScrollDescendants, Failed to invoke operation NuxeoDrive.ScrollDescendants, Reached repository root
      	at org.nuxeo.drive.adapter.impl.DocumentBackedFolderItem.populateAncestorCache(DocumentBackedFolderItem.java:386) ~[nuxeo-drive-core-10.10-HF36.jar:?]
      ...
      

      According to Antoine Taillefer such scenario cannot happen in theory. A possible case would be the user enabled a sync root on a document, and that document was versionned after. Maybe a clue for the reproduction case.

      Next steps will be to fix the server code and adapt the client one to stop calling the operation on such problematic document.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h