[
https://jira.nuxeo.com/browse/NXP-8059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anahide Tchertchian updated NXP-8059:
-------------------------------------
Status: Open (was: Triage)
> Fix clipboard export of blobs when no filename is set
> -----------------------------------------------------
>
> Key: NXP-8059
> URL: https://jira.nuxeo.com/browse/NXP-8059
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Affects Versions: 5.4.2
> Reporter: Anahide Tchertchian
> Assignee: Anahide Tchertchian
> Fix For: 5.5
>
>
> If not filename is set (can happen with old blobs where filename was set on
> the file schema property, not the filename in the blob), export via clipboard
> can crash:
> {noformat}
> null
> javax.servlet.ServletException: #{cb_action.getLink()}: javax.el.ELException:
> java.lang.NullPointerException at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:277) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> ...
> javax.el.ELException: java.lang.NullPointerException at
> javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
> at
> com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
> ... 61 more Caused by: javax.el.ELException: java.lang.NullPointerException
> at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:333) at
> ...
> Caused by: java.lang.NullPointerException at
> org.nuxeo.common.utils.StringUtils.toAscii(StringUtils.java:70) at
> org.nuxeo.ecm.webapp.clipboard.DocumentListZipExporter.escapeEntryPath(DocumentListZipExporter.java:241)
> at
> org.nuxeo.ecm.webapp.clipboard.DocumentListZipExporter.addBlobHolderToZip(DocumentListZipExporter.java:208)
> at
> org.nuxeo.ecm.webapp.clipboard.DocumentListZipExporter.exportWorklistAsZip(DocumentListZipExporter.java:69)
> at
> {noformat}
--
This message is automatically generated by JIRA.
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