When serializing event bundles at commit, we need to re-inject a transaction in order to be able to check that serialized document exists.
>>>2016-02-05 04:33:06,331 ERROR [http-bio-0.0.0.0-8080-exec-2] [org.nuxeo.ecm.core.event.impl.EventServiceImpl] Error while processing org.nuxeo.ecm.core.event.impl.EventBundleImpl@7c3f0be8 org.nuxeo.ecm.core.api.local.LocalException: No transaction active, cannot reconnect: default/Administrator#4109 at org.nuxeo.ecm.core.api.local.LocalSession.getSession(LocalSession.java:108) at org.nuxeo.ecm.core.api.AbstractSession.resolveReference(AbstractSession.java:332) at org.nuxeo.ecm.core.api.AbstractSession.exists(AbstractSession.java:829) at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.writeReplace(DocumentModelImpl.java:1646) at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497)
- is required by
-
NXP-19346 still have document model serialization error if no transaction active in redis event bundle processing
- Resolved