-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: ADDONS_2021
-
Fix Version/s: ADDONS_2021, ADDONS_2023, aspera-2023.1, aspera-2021.4
-
Component/s: Aspera Connector
When uploading a folder, the following NPE can occur:
Caused by: java.lang.NullPointerException at org.nuxeo.ecm.core.api.AbstractSession.isAdministrator(AbstractSession.java:2505) ~[nuxeo-core-2021.36.9.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.checkPermission(AbstractSession.java:235) ~[nuxeo-core-2021.36.9.jar:?] at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1000) ~[nuxeo-core-2021.36.9.jar:?] at com.nuxeo.aspera.connector.helpers.FolderUploadHelper.getFilesData(FolderUploadHelper.java:109) ~[nuxeo-aspera-core-2021.3.10.jar:?] at com.nuxeo.aspera.connector.adapter.Transfer.getFileInfoListForFolder(Transfer.java:635) ~[nuxeo-aspera-core-2021.3.10.jar:?] at com.nuxeo.aspera.connector.service.AsperaServiceImpl.getFileInfoList(AsperaServiceImpl.java:310) ~[nuxeo-aspera-core-2021.3.10.jar:?] at com.nuxeo.aspera.connector.service.AsperaServiceImpl.completeTransfer(AsperaServiceImpl.java:197) ~[nuxeo-aspera-core-2021.3.10.jar:?] at com.nuxeo.aspera.connector.service.AsperaServiceImpl.completeTransfer(AsperaServiceImpl.java:129) ~[nuxeo-aspera-core-2021.3.10.jar:?] at com.nuxeo.aspera.connector.service.AsperaNodeServiceImpl.syncTransfer(AsperaNodeServiceImpl.java:201) ~[nuxeo-aspera-core-2021.3.10.jar:?] ... 21 more