-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Core DBS
-
Release Notes Summary:Nuxeo doesn't throw NPE on ACL without name anymore.
-
Tags:
-
Sprint:nxplatform #106
-
Story Points:2
Probably a corrupted document with an ACL without a name,
like for NXP-30639 we need to trace the corrupted doc.
java.lang.NullPointerException: ACL name can't be null
at java.util.Objects.requireNonNull(Objects.java:246) ~[?:?]
at org.nuxeo.ecm.core.api.security.impl.ACLImpl.<init>(ACLImpl.java:59) ~[nuxeo-core-api-2021.36.9.jar:?]
at org.nuxeo.ecm.core.api.security.impl.ACLImpl.<init>(ACLImpl.java:68) ~[nuxeo-core-api-2021.36.9.jar:?]
at org.nuxeo.ecm.core.storage.dbs.DBSSession.memToAcp(DBSSession.java:1421) ~[nuxeo-core-storage-dbs-2021.36.9.jar:?]
at org.nuxeo.ecm.core.storage.dbs.DBSSession.getACP(DBSSession.java:1336) ~[nuxeo-core-storage-dbs-2021.36.9.jar:?]
at org.nuxeo.ecm.core.model.BaseSession.getACP(BaseSession.java:187) ~[nuxeo-core-2021.36.9.jar:?]
at org.nuxeo.ecm.core.model.BaseSession.getMergedACP(BaseSession.java:208) ~[nuxeo-core-2021.36.9.jar:?]
at org.nuxeo.ecm.core.api.AbstractSession.getACP(AbstractSession.java:604) ~[nuxeo-core-2021.36.9.jar:?]
at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.getACP(DocumentModelImpl.java:806) ~[nuxeo-core-api-2021.36.9.jar:?]
at org.nuxeo.elasticsearch.io.JsonESDocumentWriter.writeSystemProperties(JsonESDocumentWriter.java:141) ~[nuxeo-elasticsearch-core-2021.36.9.jar:?]
at org.nuxeo.elasticsearch.io.JsonESDocumentWriter.writeESDocument(JsonESDocumentWriter.java:204) ~[nuxeo-elasticsearch-core-2021.36.9.jar:?]
- is related to
-
NXP-30639 Fix NPE on memToACP when accessing a corrupted document
- Resolved