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

document model serialization error if no transaction active

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF05, 8.2
    • Component/s: Core

      Description

      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)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: