-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: NoFixVersionApplicable
-
Fix Version/s: None
-
Component/s: Synchronizer
-
Tags:
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.