ICEfaces
  1. ICEfaces
  2. ICE-2054

inputFile upload from IE to Linux

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      File Upload on linux box from windows IE.

      Description

      Even after using fixed version of inputFile.java we are able to upload file to linux machine but following exception occurs. I am forwarding stack trace for reference.

      javax.faces.el.EvaluationException: java.lang.IllegalArgumentException: argument type mismatch
      4 at com.sun.faces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:248)
      5 at com.icesoft.faces.component.inputfile.InputFile.updateFileValueBinding(InputFile.java:646)
      6 at com.icesoft.faces.component.inputfile.InputFile.upload(InputFile.java:119)

      Caused by: java.lang.IllegalArgumentException: argument type mismatch
      60 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      61 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      62 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      63 at java.lang.reflect.Method.invoke(Method.java:585)
      64 at com.sun.faces.el.PropertyResolverImpl.setValue(PropertyResolverImpl.java:198)
      65 at com.sun.faces.el.impl.ArraySuffix.setValue(ArraySuffix.java:212)
      66 at com.sun.faces.el.impl.ComplexValue.setValue(ComplexValue.java:191)
      67 at com.sun.faces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:216)

        Activity

        Hide
        Mark Collette added a comment -

        From the exception, it looks like your ValueBinding for the "file" attribute on the inputFile component is not going to a method in your bean with the signature: public void setFile(java.io.File)

        Show
        Mark Collette added a comment - From the exception, it looks like your ValueBinding for the "file" attribute on the inputFile component is not going to a method in your bean with the signature: public void setFile(java.io.File)
        Hide
        Mark Collette added a comment -

        Have you resolved your issue?

        Show
        Mark Collette added a comment - Have you resolved your issue?

          People

          • Assignee:
            Unassigned
            Reporter:
            Dheeraj Kumar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: