-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.10
-
Component/s: DAM, Publishing, Renditions
With nuxeo-dam, you can publish a Picture with other rendition types as "OriginalJpeg" , "small", "medium" or "thumbnail"; this however chokes with NPE.
Steps to reproduce:
- Install Nuxeo 7.10 (with HF43) and nuxeo-dam
- Install additional product (ImageMagick...) and start the configuration
- Create a publishing section
- Create a Picture document with a picture payload => works
- Go in the publishing tab, choose as rendition format e.g. OriginalJpeg (one of the 4 renditoins specific to Picture document type) and publish in the preceding section => chokes with NullPointerException
(the publication happens OK with the standard rendition formats)
server.log shows:
[...] Caused by: java.lang.NullPointerException at org.nuxeo.ecm.platform.rendition.service.RenditionCreator.<init>(RenditionCreator.java:89) at org.nuxeo.ecm.platform.rendition.service.DefaultStoredRenditionManager.createStoredRendition(DefaultStoredRenditionManager.java:33) at org.nuxeo.ecm.platform.rendition.service.RenditionServiceImpl.storeRendition(RenditionServiceImpl.java:180) at org.nuxeo.ecm.platform.rendition.service.RenditionServiceImpl.getRendition(RenditionServiceImpl.java:330) at org.nuxeo.ecm.platform.rendition.service.RenditionServiceImpl.getRendition(RenditionServiceImpl.java:311) at org.nuxeo.ecm.platform.rendition.publisher.RenditionPublicationFactory.publishDocument(RenditionPublicationFactory.java:59) at org.nuxeo.ecm.platform.publisher.api.AbstractBasePublicationTree.publish(AbstractBasePublicationTree.java:120) at org.nuxeo.ecm.platform.publisher.impl.core.SectionPublicationTree.publish(SectionPublicationTree.java:108) at org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl.publish(PublisherServiceImpl.java:411) at org.nuxeo.ecm.platform.publisher.impl.service.AbstractRemotableTree.publish(AbstractRemotableTree.java:68) at org.nuxeo.ecm.platform.publisher.web.PublishActionsBean.doPublish(PublishActionsBean.java:216) at org.nuxeo.ecm.platform.publisher.web.PublishActionsBean.doPublish(PublishActionsBean.java:204) [...]
- is related to
-
NXP-26524 ERROR when publishing the PDF rendition of a Picture document
- Resolved
-
NXP-19872 Stored Renditions Admin UI
- Resolved
-
NXP-16528 Allow to contribute RenditionDefinitionProviders
- Resolved
-
NXP-16664 Store rendition definitions through a ContributionFragmentRegistry
- Resolved
- is required by
-
NXP-25459 Publish nuxeo-platform-rendition-core test artifacts
- Resolved