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

FileNotFoundException in command line conversions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2023.4, 2021.46
    • Fix Version/s: 2021.50, 2023.8
    • Component/s: Renditions
    • Release Notes Summary:
      Tmp files are now deleted when appropriate. Tmp containers will remain empty.
    • Backlog priority:
      800
    • Sprint:
      nxplatform #106
    • Story Points:
      5

      Description

      Since HF46 some command line conversions can't finish – result files are cleaned before they can be pushed to storage.

      This is most evident on EC2 instances using S3 blob storage.

      2024-02-01T13:25:14,915 WARN  [bulk/recomputeViewsPool-00,in:15,inCheckpoint:15,out:15,lastRead:1706728690650,lastTimer:0,wm:223704300288475137,loop:14459,checkpoint] [org.nuxeo.lib.stream.computation.AbstractComputation] Computation: bulk/recomputeViews fails last record: bulk-recomputeViews-04:+84842783965184, retrying ...
      org.nuxeo.ecm.core.api.PropertyException: Cannot get blob info for: org.nuxeo.ecm.core.api.impl.blob.FileBlob@c7bb46e8
      	at org.nuxeo.ecm.core.storage.BaseDocument.setValueBlob(BaseDocument.java:712) ~[nuxeo-core-storage-2021.48.13.jar:?]
      ...	
      	at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1800) ~[nuxeo-core-2021.48.13.jar:?]
      	at org.nuxeo.ecm.platform.picture.PictureViewsHelper.computePictureViews(PictureViewsHelper.java:132) ~[nuxeo-platform-imaging-core-2021.48.13.jar:?]
      	at org.nuxeo.ecm.platform.picture.recompute.RecomputeViewsAction$RecomputeViewsComputation.compute(RecomputeViewsAction.java:100) ~[nuxeo-platform-imaging-core-2021.48.13.jar:?]
      	...
      Caused by: java.io.FileNotFoundException: /home/ubuntu/nuxeo-server-tomcat-2021.48.13/tmp/clc-convertToRGBDPIWithProfile-13671792709388247277/1707042934288217924.tmp.jpg (No such file or directory)
      	at java.io.FileInputStream.open0(Native Method) ~[?:?]
      	at java.io.FileInputStream.open(FileInputStream.java:219) ~[?:?]
      	at java.io.FileInputStream.<init>(FileInputStream.java:157) ~[?:?]
      	at org.nuxeo.ecm.core.api.impl.blob.FileBlob.getStream(FileBlob.java:183) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.BlobWriteContext.getStream(BlobWriteContext.java:83) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.AbstractBlobStore.transfer(AbstractBlobStore.java:297) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.AbstractBlobStore.transfer(AbstractBlobStore.java:286) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.LocalBlobStore.write(LocalBlobStore.java:101) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.LocalBlobStore.writeBlobGeneric(LocalBlobStore.java:80) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.AbstractBlobStore.writeBlob(AbstractBlobStore.java:124) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.CachingBlobStore.writeBlobGeneric(CachingBlobStore.java:130) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.AbstractBlobStore.writeBlob(AbstractBlobStore.java:124) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.AbstractBlobStore.writeBlob(AbstractBlobStore.java:115) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.BlobStoreBlobProvider.writeBlob(BlobStoreBlobProvider.java:131) ~[nuxeo-core-api-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.blob.DocumentBlobManagerComponent.writeBlob(DocumentBlobManagerComponent.java:258) ~[nuxeo-core-2021.48.13.jar:?]
      	at org.nuxeo.ecm.core.storage.BaseDocument.setValueBlob(BaseDocument.java:710) ~[nuxeo-core-storage-2021.48.13.jar:?]
      	... 29 more
      

        Attachments

        1. server.log
          8 kB
          Harlan Brown
        2. showconf.txt
          22 kB
          Harlan Brown

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: