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

Lambda function not found while trying to convert pictures

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 9.10-SNAPSHOT
    • Fix Version/s: 9.10
    • Component/s: Cloud

      Description

      Environment : MacOS + Mongo + Redis.

      Step to reproduce :

      • Configure and install S3 and Lambda
      • Upload a document as Picture

      => The Picture is created but the conversion is not executed. In server.log, I have :

      2017-12-11 16:06:18,172 ERROR [http-nio-127.0.0.1-8080-exec-2] [org.nuxeo.lambda.image.conversion.PictureCreatedListener] Error while calling Lambda
      org.nuxeo.ecm.core.api.NuxeoException: There is no lambda function with name: test_nuxeoPictureConversion
      	at org.nuxeo.lambda.core.LambdaComponent.scheduleCall(LambdaComponent.java:106)
      	at org.nuxeo.lambda.image.conversion.PictureCreatedListener.handleEvent(PictureCreatedListener.java:132)
      	at org.nuxeo.ecm.core.event.impl.EventServiceImpl.fireEvent(EventServiceImpl.java:242)
      	at org.nuxeo.ecm.core.api.AbstractSession.notifyEvent(AbstractSession.java:271)
      	at org.nuxeo.ecm.core.api.AbstractSession.createDocument(AbstractSession.java:733)
      	at org.nuxeo.ecm.webapp.contentbrowser.DocumentActionsBean.saveDocument(DocumentActionsBean.java:323)
      	at org.nuxeo.ecm.webapp.contentbrowser.DocumentActionsBean.saveDocument(DocumentActionsBean.java:294)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      	at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
      ...
      2017-12-11 16:15:00,029 WARN  [Nuxeo-Work-default-2:94602759961308.1034286085] [org.nuxeo.ecm.core.redis.retry.SimpleDelay] pausing for 2000 ms
      2017-12-11 16:15:02,030 WARN  [Nuxeo-Work-default-2:94602759961308.1034286085] [org.nuxeo.ecm.core.redis.retry.SimpleDelay] pausing for 4000 ms
      2017-12-11 16:15:06,033 WARN  [Nuxeo-Work-default-2:94602759961308.1034286085] [org.nuxeo.ecm.core.redis.retry.SimpleDelay] pausing for 8000 ms
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: