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

@async automation adapter swallows exceptions

    XMLWordPrintable

    Details

      Description

      In case there is an error, the exception cause is not recorded in server.log nor returned in the API call payload. The only message is Internal Server Error which really doesn't help.

       org.nuxeo.ecm.core.api.NuxeoException: Internal Server Error
      nuxeo_1  |      at org.nuxeo.ecm.automation.server.jaxrs.adapters.AsyncOperationAdapter.result(AsyncOperationAdapter.java:254) ~[nuxeo-automation-server-2021.7.15.jar:?]
      nuxeo_1  |      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
      nuxeo_1  |      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
      nuxeo_1  |      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
      nuxeo_1  |      at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
      nuxeo_1  |      at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.4.jar:1.19.4]
      nuxeo_1  |      at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ObjectOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:258) ~[jersey-server-1.19.4.jar:1.19.4]
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: