NPE in ConverterBasedHtmlPreviewAdapter on document with empty blob
-------------------------------------------------------------------

                 Key: NXP-4296
                 URL: http://jira.nuxeo.org/browse/NXP-4296
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.3 GA
            Reporter: Olivier Grisel
            Assignee: Olivier Grisel
             Fix For: 5.3.1


A typo in the code triggers the following exception:

Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
java.lang.NullPointerException. message: null
        at 
org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent.getPreviewer(PreviewAdapterManagerComponent.java:130)
        at 
org.nuxeo.ecm.platform.preview.adapter.base.ConverterBasedHtmlPreviewAdapter.getPreviewBlobs(ConverterBasedHtmlPreviewAdapter.java:140)
        at 
org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter.getFilePreviewBlobs(AbstractHtmlPreviewAdapter.java:134)
        at 
org.nuxeo.ecm.platform.preview.adapter.base.AbstractHtmlPreviewAdapter.getFilePreviewBlobs(AbstractHtmlPreviewAdapter.java:118)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to