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

Fix test bug NPE in Node.isProxy

    XMLWordPrintable

    Details

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

      Description

      This happens sometimes:

      2014-04-24 03:02:58,678 WARN  [Nuxeo-Work-audit-1] [org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl] Listener 'auditLoggerListener' cannot refetch missing document: dfde2c53-317c-4299-9979-b705bc56e104 (/default-domain/workspaces/FLNXTEST Webengine works)
      2014-04-24 03:02:58,680 ERROR [Nuxeo-Work-default-1] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: ListenerWork(Listener notificationListener [documentCreated/b931bc8f-a109-42b7-a464-7763a09f2a40, documentModified/b931bc8f-a109-42b7-a464-7763a09f2a40], Progress(?%, ?/0), null)
      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:667)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:654)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getParent(SQLSession.java:758)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.getParent(SQLDocumentLive.java:133)
      	at org.nuxeo.ecm.core.api.DocumentModelFactory.createDocumentModel(DocumentModelFactory.java:87)
      	at org.nuxeo.ecm.core.api.AbstractSession.readModel(AbstractSession.java:380)
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1019)
      	at sun.reflect.GeneratedMethodAccessor70.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.ec.notification.NotificationEventListener.handleEvent(NotificationEventListener.java:105)
      	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)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: