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

Don't log ERROR for failed EXIF extraction on image import

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF18, 5.7.1
    • Component/s: Image Management

      Description

      Avoid this kind of trace at ERROR level:

      2013-05-24 14:50:33,516 ERROR [org.nuxeo.ecm.platform.picture.core.mistral.MistralMetadataUtils] Failed to get EXIF metadata for the file:295MB.tif
      java.io.IOException: Cannot read from the inputstream
              at it.tidalwave.image.op.ReadOp.createImageReader(ReadOp.java:470)
              at it.tidalwave.image.op.ReadOp.access$000(ReadOp.java:57)
              at it.tidalwave.image.op.ReadOp$Reader.run(ReadOp.java:113)
              at it.tidalwave.image.op.ReadOp$Reader.read(ReadOp.java:89)
              at it.tidalwave.image.op.ReadOp$Type$3.read(ReadOp.java:206)
              at it.tidalwave.image.op.ReadOp.execute(ReadOp.java:332)
              at it.tidalwave.image.EditableImage.create(EditableImage.java:239)
              at org.nuxeo.ecm.platform.picture.core.mistral.MistralMetadataUtils.getImageMetadata(MistralMetadataUtils.java:76)
              at org.nuxeo.ecm.platform.picture.ImagingComponent.getImageMetadata(ImagingComponent.java:109)
              at org.nuxeo.ecm.platform.picture.api.adapters.AbstractPictureAdapter.setMetadata(AbstractPictureAdapter.java:209)
              at org.nuxeo.ecm.platform.picture.api.adapters.DefaultPictureAdapter.fillPictureViews(DefaultPictureAdapter.java:103)
              at org.nuxeo.ecm.platform.picture.api.adapters.PictureBlobHolder.setBlob(PictureBlobHolder.java:82)
              at org.nuxeo.ecm.platform.filemanager.service.extension.AbstractFileImporter.updateDocument(AbstractFileImporter.java:164)
              at org.nuxeo.ecm.platform.filemanager.service.extension.AbstractFileImporter.create(AbstractFileImporter.java:208)
              at org.nuxeo.ecm.platform.filemanager.service.FileManagerService.createDocumentFromBlob(FileManagerService.java:268)
              at org.nuxeo.ecm.webapp.filemanager.FileManageActionsBean.addFile(FileManageActionsBean.java:166)
              at org.nuxeo.ecm.webapp.filemanager.FileManageActionsBean.validate(FileManageActionsBean.java:651)
              ...
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: