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

Better error message for async events failing to reconnect

    XMLWordPrintable

    Details

      Description

      Provide better error messages than the following when an async event fails to reconnect its event bundle due to a missing document.

      13:51:46,286 ERROR [ReconnectedEventBundleImpl] Can not refetch Doc with ref e46f0466-23b7-4643-bba2-0bf0748e3ba1
      org.nuxeo.ecm.core.api.ClientException: Failed to get document e46f0466-23b7-4643-bba2-0bf0748e3ba1
      	at org.nuxeo.ecm.core.api.AbstractSession.getDocument(AbstractSession.java:1135)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.getReconnectedEvents(ReconnectedEventBundleImpl.java:159)
      	at org.nuxeo.ecm.core.event.impl.ReconnectedEventBundleImpl.iterator(ReconnectedEventBundleImpl.java:232)
      	at org.nuxeo.ecm.core.storage.sql.coremodel.BinaryTextListener.handleEvent(BinaryTextListener.java:85)
      	...
      Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.nuxeo.ecm.core.model.NoSuchDocumentException. message: No such document: e46f0466-23b7-4643-bba2-0bf0748e3ba1
      	...
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: