0 Replies Latest reply on Nov 13, 2007 12:00 AM by Ananth Durai

    Problem with scrollable data table

    Ananth Durai Newbie

      Hi Guys,

      i face not serializable exception in scrollable data table when ever i scroll the scroll bars. this is the stack trace.

      java.io.NotSerializableException: org.richfaces.model.selection.SelectionRange
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
      java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
      java.util.ArrayList.writeObject(ArrayList.java:570)
      sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
      java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
      java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
      java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
      java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
      java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
      java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
      java.util.HashMap.writeObject(HashMap.java:985)
      sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
      java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
      java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
      java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
      java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
      java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
      java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
      org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:181)
      org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:143)
      org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeViewStateField(HtmlResponseStateManager.java:102)
      org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(HtmlResponseStateManager.java:88)
      javax.faces.render.ResponseStateManager.writeState(ResponseStateManager.java:158)
      org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:463)
      org.ajax4jsf.application.AjaxStateManager.writeState(AjaxStateManager.java:136)
      javax.faces.application.StateManager.writeState(StateManager.java:251)
      org.apache.myfaces.application.jsp.JspViewHandlerImpl$StateMarkerAwareWriter.flushToWriter(JspViewHandlerImpl.java:389)
      org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:322)
      org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
      org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
      com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)

      please help me,
      Regards,
      A.