2 Replies Latest reply on Nov 10, 2009 4:41 PM by sai burgula

    Serialization Exception in Seam

    sai burgula Novice

      Hi I am using a converter in my backing bean.


      The Converter  is defined as follows:


      @Name(facConverter)
      @org.jboss.seam.annotations.faces.Converter
      public class FacultyConverter implements Converter {



      }


      I have the constructor, getAsObject and getAsString methods implemented.  I am using this converter in my backing bean on a picklist and it works fine.


      My problem is that whenever I am on a page for a considerable amount of time, without any activity, it throws me a serialization exception.


      javax.el.ELException: java.lang.RuntimeException: java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of edu.cmu.heinz.hcis.view.converter.FacultyConverter


      The converter as such works fine.  It has something to do with serialization.


      Does anyone have a clue.....Please let me know.


      I tried add implements Serialiable to my bean class but it is of no use.


      Any suggestion would be very helpful..


      thanks
      Sai