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

Prevent creation of empty thumbnail on audio file

    XMLWordPrintable

    Details

    • Release Notes Summary:
      The thumbnail is correctly generated for Audio documents.
    • Backlog priority:
      550
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #32
    • Story Points:
      1

      Description

      We want to avoid this failure that can break a recomputeThumnail bulk command:

      java.lang.NullPointerException: null bytes
      	at org.nuxeo.ecm.core.api.impl.blob.ByteArrayBlob.<init>(ByteArrayBlob.java:46) ~[nuxeo-core-api-10.10-HF39.jar:?]
      	at org.nuxeo.ecm.core.api.Blobs.createBlob(Blobs.java:147) ~[nuxeo-core-api-10.10-HF39.jar:?]
      	at org.nuxeo.ecm.platform.audio.extension.ThumbnailAudioFactory.computeThumbnail(ThumbnailAudioFactory.java:97) ~[nuxeo-platform-audio-core-10.10.jar:?]
      	at org.nuxeo.ecm.core.api.thumbnail.ThumbnailServiceImpl.computeThumbnail(ThumbnailServiceImpl.java:99) ~[nuxeo-core-api-10.10-HF39.jar:?]
      	at org.nuxeo.ecm.core.api.thumbnail.ThumbnailAdapter.computeThumbnail(ThumbnailAdapter.java:58) ~[nuxeo-core-api-10.10-HF39.jar:?]
      	at org.nuxeo.ecm.platform.thumbnail.action.RecomputeThumbnailsAction$RecomputeThumbnailsComputation.processDoc(RecomputeThumbnailsAction.java:94) ~[nuxeo-thumbnail-10.10-HF39.jar:?]
      	at org.nuxeo.ecm.platform.thumbnail.action.RecomputeThumbnailsAction$RecomputeThumbnailsComputation.compute(RecomputeThumbnailsAction.java:83) ~[nuxeo-thumbnail-10.10-HF39.jar:?]
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: