Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14582

NPE while invoking auditLoggerListener

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 5.9.5
    • Component/s: Audit, Core VCS

      Description

      2014-06-13 21:01:57,532 ERROR [Nuxeo-Work-audit-1] [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event default on listener auditLoggerListener
      java.lang.NullPointerException
      	at org.nuxeo.ecm.core.storage.sql.Node.isProxy(Node.java:155)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:627)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:614)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getParent(SQLSession.java:692)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.getParent(SQLDocumentLive.java:125)
      	at org.nuxeo.ecm.core.api.DocumentModelFactory.createDocumentModel(DocumentModelFactory.java:90)
      	at org.nuxeo.ecm.core.api.AbstractSession.readModel(AbstractSession.java:375)
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1014)
      	at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:131)
      	at com.sun.proxy.$Proxy101.getDocument(Unknown Source)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedEvents(ReconnectedEventBundleImpl.java:124)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.iterator(ReconnectedEventBundleImpl.java:232)
      	at org.nuxeo.ecm.platform.audit.service.NXAuditEventsService.logEvents(NXAuditEventsService.java:725)
      	at org.nuxeo.ecm.platform.audit.service.NXAuditEventsService$16.runWith(NXAuditEventsService.java:705)
      	at org.nuxeo.ecm.core.persistence.PersistenceProvider.run(PersistenceProvider.java:189)
      	at org.nuxeo.ecm.platform.audit.service.NXAuditEventsService.logEvents(NXAuditEventsService.java:703)
      	at org.nuxeo.ecm.platform.audit.listener.AuditEventLogger.handleEvent(AuditEventLogger.java:56)
      	at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor$ListenerWork.work(AsyncEventExecutor.java:172)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java:355)
      	at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java:316)
      	at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:284)
      	at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java:49)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      

      Visible here: http://qa.nuxeo.org/jenkins/job/FT-nuxeo-master-funkload-dm-tomcat-multidb/2161/Slave=MULTIDB_LINUX,dbprofile=default,jdk=openjdk-7-jdk/

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: