-
Type: Bug
-
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
Don't NPE with this stack trace (taken on 5.6.0-HF17):
ERROR [org.nuxeo.ecm.platform.picture.core.im.IMImageUtils] ImageMagick failed on command: resizer java.lang.NullPointerException at org.nuxeo.ecm.platform.picture.magick.utils.ImageIdentifier.getInfo(ImageIdentifier.java:41) at org.nuxeo.ecm.platform.picture.magick.utils.ImageResizer.resize(ImageResizer.java:54) at org.nuxeo.ecm.platform.picture.core.im.IMImageUtils$2.callImageMagick(IMImageUtils.java:148) at org.nuxeo.ecm.platform.picture.core.im.IMImageUtils$ImageMagickCaller.call(IMImageUtils.java:62) at org.nuxeo.ecm.platform.picture.core.im.IMImageUtils.resize(IMImageUtils.java:145) at org.nuxeo.ecm.platform.picture.ImagingComponent.resize(ImagingComponent.java:69) at org.nuxeo.ecm.platform.picture.convert.ResizePictureConverter.convert(ResizePictureConverter.java:66) at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:168) at org.nuxeo.ecm.platform.picture.api.adapters.AbstractPictureAdapter.createPictureimpl(AbstractPictureAdapter.java:420) at org.nuxeo.ecm.platform.picture.api.adapters.AbstractPictureAdapter.addViews(AbstractPictureAdapter.java:358) at org.nuxeo.ecm.platform.picture.api.adapters.DefaultPictureAdapter.createPicture(DefaultPictureAdapter.java:98) 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:165) at org.nuxeo.ecm.webapp.filemanager.FileManageActionsBean.validate(FileManageActionsBean.java:650)