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

NPE in PDF rendition on Note using Markdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF02, 5.7.1
    • Component/s: Renditions

      Description

      When running PDF rendition on a Markdown note, an NPE is raised

      Caused by: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation Blob.ToPDF
      	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:140)
      	at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.doInvoke(CompiledChainImpl.java:114)
      	at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.invoke(CompiledChainImpl.java:96)
      	at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.doInvoke(CompiledChainImpl.java:117)
      	at org.nuxeo.ecm.automation.core.impl.CompiledChainImpl.invoke(CompiledChainImpl.java:96)
      	at org.nuxeo.ecm.automation.core.impl.OperationServiceImpl.run(OperationServiceImpl.java:65)
      	at org.nuxeo.ecm.platform.rendition.extension.DefaultAutomationRenditionProvider.render(DefaultAutomationRenditionProvider.java:47)
      	... 118 more
      Caused by: org.nuxeo.ecm.core.convert.api.ConversionException: error while trying to execute converters chain
      	at org.nuxeo.ecm.core.convert.extension.ChainedConverter.convertBasedSubConverters(ChainedConverter.java:92)
      	at org.nuxeo.ecm.core.convert.extension.ChainedConverter.convert(ChainedConverter.java:64)
      	at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:168)
      	at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convertToMimeType(ConversionServiceImpl.java:197)
      	at org.nuxeo.ecm.automation.core.operations.blob.BlobToPDF.run(BlobToPDF.java:66)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:616)
      	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:125)
      	at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:132)
      	... 124 more
      Caused by: org.nuxeo.ecm.core.convert.api.ConversionException: Could not get Markdown string from BlobHolder
      	at org.nuxeo.ecm.platform.convert.plugins.Md2HtmlConverter.convert(Md2HtmlConverter.java:77)
      	at org.nuxeo.ecm.core.convert.extension.ChainedConverter.convertBasedSubConverters(ChainedConverter.java:86)
      	... 134 more
      Caused by: java.lang.NullPointerException
      	at org.nuxeo.ecm.platform.convert.plugins.Md2HtmlConverter.convert(Md2HtmlConverter.java:58)
      	... 135 more
      
      

        Attachments

          Activity

            People

            • Assignee:
              tdelprat Thierry Delprat
              Reporter:
              tdelprat Thierry Delprat
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: