Template rendering : null mime-type error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2020 05:23 AM
Hi,
I'm trying to render a document with a docx template using Freemarker, but I got the following error :
org.nuxeo.ecm.core.convert.api.ConversionException: Failed to invoke operation Blob.RunConverter, null mime type not supported by any2pdf converter at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:323) ~[nuxeo-core-convert-10.10.jar:?] at org.nuxeo.ecm.automation.core.operations.blob.RunConverter.run(RunConverter.java:66) ~[nuxeo-automation-core-10.10.jar:?]
My guess is that the TemplateProcessor.Render operation returns a blob with no mime type, but I can't really see why.
You can see where the error is thrown here
Any help appreciated !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2020 03:55 AM
I think the problem might happen here