[ 
https://jira.nuxeo.com/browse/NXP-8641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=109684#comment-109684
 ] 

Florent Guillaume commented on NXP-8641:
----------------------------------------

{noformat}
14:54:51,369 ERROR [viewhandler] Error Rendering View[/view_documents.xhtml]
javax.faces.FacesException: javax.el.ELException: 
/widgets/listing/listing_title_link_widget_template.xhtml @36,138 
alt="#{nxd:fileDescription(field_0, widget.properties.file_property_name, 
widget.properties.filename_property_name, field_4)}": 
java.lang.NumberFormatException: For input string: "3145728000"
        at 
javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1593)
        ...
Caused by: java.lang.NumberFormatException: For input string: "3145728000"
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:461)
        at java.lang.Integer.parseInt(Integer.java:499)
        at 
org.nuxeo.ecm.platform.ui.web.tag.fn.Functions.printFormatedFileSize(Functions.java:424)
        at 
org.nuxeo.ecm.platform.ui.web.tag.fn.Functions.printFileSize(Functions.java:419)
        at 
org.nuxeo.ecm.platform.ui.web.tag.fn.DocumentModelFunctions.fileDescription(DocumentModelFunctions.java:578)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
        at org.jboss.el.parser.AstFunction.getValue(AstFunction.java:84)
        at 
org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
        at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
        ... 150 more
{noformat}


> JSF UI cannot list files > 2GB
> ------------------------------
>
>                 Key: NXP-8641
>                 URL: https://jira.nuxeo.com/browse/NXP-8641
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Web Foundations
>    Affects Versions: 5.4
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>            Priority: Major
>             Fix For: 5.6
>
>
> When trying to display in a listing a file > 2GB, there's a 
> {{java.lang.NumberFormatException}} error.
> Trace below.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to