0 Replies Latest reply on Feb 20, 2014 1:08 AM by Santosh P

    rich:fileUpload throws NotSerializableException

    Santosh P Newbie

      Hello All,

       

      I am using richface 4.3.3.Final components in my application.

       

      Earlier, my application was using Richface 3.x, now have done migration to 4.x.

       

      The fileUpload was working seamlessly in Richface 3.x, but now it is throwing below exception in Richface 4.x.

       

      Could some one please help me to resolve this issue.

       

      Thanks in advance!!

       

      java.io.NotSerializableException: org.richfaces.request.UploadedFile25

        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1185)

        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1551)

        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1516)

        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)

        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)

        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)

        at java.util.HashMap.writeObject(HashMap.java:937)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

        at java.lang.reflect.Method.invoke(Method.java:611)

        at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1020)

        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1502)

        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1433)

        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1179)

        at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1379)

        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1175)

        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)

        at java.util.HashMap.writeObject(HashMap.java:937)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

        at java.lang.reflect.Method.invoke(Method.java:611)

      ...

      ...

       

      Please find the full stack trace in attached file