-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.10
-
Fix Version/s: HOTFIX_10.10, 2021.x, 11.x
-
Component/s: Audit
-
Tags:
-
Backlog priority:500
If a "null" value has been stored in the extended infos of an audit entry, reading the record will throw a NullPointerException with this trace
ERROR [http-nio-0.0.0.0-8094-exec-10] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] java.lang.NullPointerException2021-07-06T11:52:30,913 ERROR [http-nio-0.0.0.0-8094-exec-10] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] java.lang.NullPointerExceptionjava.lang.NullPointerException: null at org.nuxeo.ecm.platform.audit.impl.ExtendedInfoImpl.createExtendedInfo(ExtendedInfoImpl.java:59) ~[nuxeo-platform-audit-core-10.10-HF48.jar:?] at org.nuxeo.mongodb.audit.MongoDBAuditEntryReader.readExtendedInfo(MongoDBAuditEntryReader.java:120) ~[nuxeo-platform-audit-mongodb-10.10-HF17.jar:?] at org.nuxeo.mongodb.audit.MongoDBAuditEntryReader.read(MongoDBAuditEntryReader.java:101) ~[nuxeo-platform-audit-mongodb-10.10-HF17.jar:?] at org.nuxeo.mongodb.audit.pageprovider.MongoDBAuditPageProvider.getCurrentPage(MongoDBAuditPageProvider.java:127) ~[nuxeo-platform-audit-mongodb-10.10-HF17.jar:?] at org.nuxeo.ecm.automation.core.util.PaginablePageProvider.<init>(PaginablePageProvider.java:43) ~[nuxeo-core-io-10.10-HF44.jar:?] at org.nuxeo.ecm.restapi.server.jaxrs.adapters.PaginableAdapter.getPaginableEntries(PaginableAdapter.java:142) ~[nuxeo-rest-api-server-10.10-HF42.jar:?] at org.nuxeo.ecm.restapi.server.jaxrs.adapters.PaginableAdapter.getPaginableEntries(PaginableAdapter.java:138) ~[nuxeo-rest-api-server-10.10-HF42.jar:?]~[?:?]