[ http://jira.nuxeo.org/browse/WEB-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stéphane Lacoin reassigned WEB-150: ----------------------------------- Assignee: Stéphane Lacoin (was: Bogdan Stefanescu) > Null Pointer Exception in Auditing when creating document > --------------------------------------------------------- > > Key: WEB-150 > URL: http://jira.nuxeo.org/browse/WEB-150 > Project: Nuxeo Web Engine > Issue Type: Bug > Reporter: Ian Smith > Assignee: Stéphane Lacoin > > Replicate this bug by building a fresh jetty-based copy of webengine (from > nuxeo-distribution) and then try going to the front page > (http://localhost:8080/). A number of NPE's are thrown when creating > documents... these are coming from the audit code. > This is the relevant snippet of the log file: > 15:42:54,562 [btpool0-7] WARN NXAuditEventsService : not a nuxeo principal > org. > nuxeo.ecm.core.api.simpleprinci...@205df9 > 15:42:54,562 [btpool0-7] WARN JDBCExceptionReporter : SQL Warning: 10000, > SQLSt > ate: 01J01 > 15:42:54,562 [btpool0-7] WARN JDBCExceptionReporter : Database 'nxaudits' > not c > reated, connection made to existing database instead. > 15:42:54,562 [btpool0-7] ERROR DefaultEventService : Error during > notification f > or event: documentCreated > java.lang.NullPointerException > at > org.nuxeo.ecm.platform.audit.service.NXAuditEventsService.doCreateAnd > FillEntryFromEvent(NXAuditEventsService.java:341) > at > org.nuxeo.ecm.platform.audit.service.NXAuditEventsService.logEvent(NX > AuditEventsService.java:623) > at > org.nuxeo.ecm.platform.audit.service.NXAuditEventsService.logEvent(NX > AuditEventsService.java:607) > at > org.nuxeo.ecm.platform.audit.AuditEventListener.handleEvent(AuditEven > tListener.java:38) > at > org.nuxeo.ecm.core.listener.impl.DefaultEventService.fireEvent(Defaul > tEventService.java:131) > at > org.nuxeo.ecm.core.listener.impl.DefaultEventService.notifyEventListe > ners(DefaultEventService.java:116) > at > org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.ja > va:339) > at > org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession > .java:751) > Errors seem to happen on documentCreated and documentSecurityUpdated events. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nuxeo.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets