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

taggedVersionListener listener failed with org.nuxeo.ecm.core.storage.sql.Node

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.9.4
    • Fix Version/s: 5.9.5
    • Component/s: Tagging

      Description

      Stacktrace is:

      2014-07-01 06:09:23,587 WARN  [Nuxeo-Work-default-3] [org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl] Listener 'notificationListener' cannot refetch missing document: f387a151-e6b2-4b95-b20d-d52d9be7b3b7 (/default-domain/cmislib DocumentTest 140/plain.txt)
      2014-07-01 06:09:28,338 ERROR [Nuxeo-Work-default-4] [org.nuxeo.ecm.core.work.AbstractWork] Exception during work: ListenerWork(Listener taggedVersionListener [documentCheckedIn/3aba95c6-f7e7-4436-a123-87d1c2ee766e], 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: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:601)
      	at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:131)
      	at com.sun.proxy.$Proxy100.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.tag.TaggedVersionListener.handleEvent(TaggedVersionListener.java:49)
      	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:52)
      	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:722)
      2014-07-01 06:09:28,343 ERROR [Nuxeo-Work-default-4] [org.nuxeo.ecm.core.event.impl.AsyncEventExecutor] Failed to execute async event default on listener taggedVersionListener
      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:601)
      	at org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper.invoke(TransactionalCoreSessionWrapper.java:131)
      	at com.sun.proxy.$Proxy100.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.tag.TaggedVersionListener.handleEvent(TaggedVersionListener.java:49)
      	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:52)
      	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:722)
      

      Seen:

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: