When accessing for the first time to the Polls tab (the Polls container is created at this time, a HiddenFolder) and then creating a Poll, we have the following error on async listeners / works (FulltextUpdaterWork, pictureViewListener, videoAutomaticConversions and activityStreamListener):
java.lang.NullPointerException at org.nuxeo.ecm.core.storage.sql.Node.isProxy(Node.java:158) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:642) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.newDocument(SQLSession.java:629) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLSession.getParent(SQLSession.java:730) at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.getParent(SQLDocumentLive.java:117) at org.nuxeo.ecm.core.api.DocumentModelFactory.createDocumentModel(DocumentModelFactory.java:93) at org.nuxeo.ecm.core.api.AbstractSession.readModel(AbstractSession.java:507) at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1231) at sun.reflect.GeneratedMethodAccessor59.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:133) at com.sun.proxy.$Proxy45.getDocument(Unknown Source) at org.nuxeo.ecm.core.storage.sql.FulltextUpdaterWork.work(FulltextUpdaterWork.java:149) at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java:163) 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)
Node#getPrimaryType() returns null.
Path is: /
The hierFragment row values are all nulls.
- duplicates
-
NXP-12175 In Single-datasource mode postcommit/async events should not run before main commit
- Resolved