> at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:197)
"com.sun.faces" means you're using the JSF RI, not MyFaces JSF.
You'll have to ask for help on their support lists, or switch over to
MyFaces, at which point the problem will probably go away or change to
something else.
On 10/28/05, PATRICIA GUEDES <[EMAIL PROTECTED]> wrote:
> Thanks for your time ....
>
> I found in the google an stack trace of the same error, but to server-side.
> It means something for you?
>
> javax.servlet.jsp.JspException: Error while saving state in 'session':
> 'myPackage.MyBackingBean'.
> at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:197)
> at org.apache.jsp.search$jsp._jspService(search$jsp.java:5028)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
> at
> com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
> at
> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:142)
> at
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
> at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
> at
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
> at java.lang.Thread.run(Thread.java:536)
>
>
> Sorry for disturb you (I don't know if it is the right term) ...
>
> Thanks
> Guedes
>
>
>
> On 10/28/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > Patricia,
> >
> > I have checked again - nothing in MyFaces would give you error
> > messages like this. We just don't have the error message anywhere in
> > our implementation.
> >
> > So I am very sorry - it might be that you have the reference
> > implementation included somewhere, or that something in JDeveloper is
> > responsible for this.
> >
> > regards,
> >
> > Martin
> >
> > On 10/28/05, PATRICIA GUEDES <[EMAIL PROTECTED]> wrote:
> > > Anyone please ... I really need this information..
> > >
> > > Thanks.
> > > Guedes
> > >
> > > > On 10/27/05, PATRICIA GUEDES <[EMAIL PROTECTED]> wrote:
> > > > > I don't if the information is important, but if I take off the model
> > > > > inside my RowData class, the problem doesn't occurs.
> > > > >
> > > > > Thanks.
> > > > > Guedes
> > > > >
> > > > >
> > > > >
> > > > > On 10/27/05, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> > > > > > DataModel is not Serializable, that is true.
> > > > > >
> > > > > > It shouldn't be serialized, though, I would suppose. Only its
> > contents!
> > > > > >
> > > > > > regards,
> > > > > >
> > > > > > Martin
> > > > > >
> > > > > > On 10/27/05, PATRICIA GUEDES <[EMAIL PROTECTED]> wrote:
> > > > > > > I you look for the string "Error while saving state in" in the
> > > > google,
> > > > > > > appears some lines. But it seems that is to server-side instead
> > > > > > > client-side.
> > > > > > >
> > > > > > > I tried with the two types (ListDataModel and ArrayDataModel),
> > but
> > > > > > > nothing works. In the net I found some pages that say the class
> > > > > > > DataModel of the JSF is not Serializable. Is this truth? If it
> > is,
> > > > > > > maybe that's the problem, I think ...
> > > > > > >
> > > > > > > Thanks.
> > > > > > > Guedes
> > > > > > >
> > > > > > > On 10/27/05, Martin Marinschek <[EMAIL PROTECTED]>
> > wrote:
> > > > > > > > You have both messages?
> > > > > > > >
> > > > > > > > once with ListDataModel and once with ArrayDataModel?
> > > > > > > >
> > > > > > > > Wonder where the stack trace for this would be....
> > > > > > > >
> > > > > > > > regards,
> > > > > > > >
> > > > > > > > Martin
> > > > > > > >
> > > > > > > > On 10/27/05, PATRICIA GUEDES <[EMAIL PROTECTED]> wrote:
> > > > > > > > > I can do it for you, because it doesn't appears in the log
> > file.
> > > > I
> > > > > am
> > > > > > > > > using Oracle JDeveloper. Some parts of the jsp appears and
> > the
> > > > > > message
> > > > > > > > > :
> > > > > > > > >
> > > > > > > > > <td class[ServletException in:/eservices/layout/layout.jsp]
> > Error
> > > > > > > > > while saving state in 'client':
> > > > > 'javax.faces.model.ArrayDataModel'.'
> > > > > > > > >
> > > > > > > > > too.
> > > > > > > > >
> > > > > > > > > If you want I can send the "Print Screen" of my jsf page.....
> > > > > > > > >
> > > > > > > > > Thanks.
> > > > > > > > > Guedes
> > > > > > > > >
> > > > > > > > > On 10/27/05, Martin Marinschek <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > > > > > > I don't find the error message
> > > > > > > > > >
> > > > > > > > > > Error while saving state in
> > > > > > > > > >
> > > > > > > > > > anywhere in the sources - can you send in the complete
> > stack
> > > > > trace?
> > > > > > > > > >
> > > > > > > > > > regards,
> > > > > > > > > >
> > > > > > > > > > Martin
> > > > > > > > > >
> > > > > > > > > > On 10/27/05, PATRICIA GUEDES <[EMAIL PROTECTED]>
> > wrote:
> > > > > > > > > > > Yes, it is. It seems the problem is in DataModel of the
> > JSF.
> > > > > > > > > > >
> > > > > > > > > > > Thanks.
> > > > > > > > > > > Guedes
> > > > > > > > > > >
> > > > > > > > > > > On 10/27/05, Martin Marinschek
> > <[EMAIL PROTECTED]>
> > > > > > wrote:
> > > > > > > > > > > > Are all your model classes serializable?
> > > > > > > > > > > >
> > > > > > > > > > > > E.g. "fields" - is it serializable?
> > > > > > > > > > > >
> > > > > > > > > > > > regards,
> > > > > > > > > > > >
> > > > > > > > > > > > Martin
> > > > > > > > > > > >
> > > > > > > > > > > > On 10/27/05, PATRICIA GUEDES <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > > > > > > > > > Anyone please ....
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks.
> > > > > > > > > > > > > Guedes
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 10/26/05, PATRICIA GUEDES
> > <[EMAIL PROTECTED]>
> > > > > wrote:
> > > > > > > > > > > > > > Ooops!! My mistake !! This is the correct method :
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > public DataModel getValuesEmbque() {
> > > > > > > > > > > > > > if(valuesEmbque == null) {
> > > > > > > > > > > > > > valuesEmbque = new ArrayList();
> > > > > > > > > > > > > > valuesEmbque.add(new
> > > > RowData(this.getFieldsEmbque(),
> > > > > > > > > > > > fieldsEmbque));
> > > > > > > > > > > > > > valuesEmbque.add(new
> > > > RowData(this.getFieldsEmbque(),
> > > > > > > > > > > > fieldsEmbque1));
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > if(valuesEmbqueModel == null) {
> > > > > > > > > > > > > > valuesEmbqueModel = new
> > > > > ListDataModel(valuesEmbque);
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > return valuesEmbqueModel;
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Sorry!!!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > Guedes
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 10/26/05, Dennis Byrne <[EMAIL PROTECTED]>
> > wrote:
> > > > > > > > > > > > > > > how does it compile? id doesn't return anything.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > ---- Original message ----
> > > > > > > > > > > > > > > >Date: Wed, 26 Oct 2005 16:56:57 -0200
> > > > > > > > > > > > > > > >From: PATRICIA GUEDES <[EMAIL PROTECTED]>
> > > > > > > > > > > > > > > >Subject: Re: Error while saving state in 'client'
> > -
> > > > > > PLEASE
> > > > > > > > > > > > > > > HELP
> > > > > > > > > > > > > > > >To: MyFaces Discussion
> > <[email protected]>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >Yes. If I remove the preserveDataModel
> > attribute,
> > > > > works
> > > > > > > > fine.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >Thanks for your reply!!! I hope you can help me.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >Guedes
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >On 10/26/05, Dennis Byrne <[EMAIL PROTECTED]>
> > wrote:
> > > > > > > > > > > > > > > >> are you sure getValuesEmbque is compiling?
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > >> ---- Original message ----
> > > > > > > > > > > > > > > >> >Date: Wed, 26 Oct 2005 16:35:56 -0200
> > > > > > > > > > > > > > > >> >From: PATRICIA GUEDES
> > <[EMAIL PROTECTED]>
> > > > > > > > > > > > > > > >> >Subject: Error while saving state in 'client'
> > -
> > > > > > PLEASE
> > > > > > > > > > > > > > > HELP
> > > > > > > > > > > > > > > >> >To: [email protected]
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >Hi everyone....
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >I am trying to use a dataTable with the
> > > > > > preserveDataModel
> > > > > > > > > > > > > > > >> attribute,
> > > > > > > > > > > > > > > >> >but the follow error occurs:
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >Error while saving state
> > > > > > > > > > > > > > > >> in 'client':
> > 'javax.faces.model.ListDataModel'.'
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >#############
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> ><x:dataTable
> > value="#{remessaBean.valuesEmbque}"
> > > > > > > > > > > > > > > >> var="values" >
> > > > > > > > > > > > > > > >> > <x:columns
> > > > > > value="#{remessaBean.fieldsEmbque}"
> > > > > > > > > > > > > > > >> var="field" >
> > > > > > > > > > > > > > > >> > <f:facet name="header">
> > > > > > > > > > > > > > > >> > <x:outputText value="#{msg
> > > > > > > > > > > > > > > >> [field.nomeCampoTela]}"
> > > > > > > > > > > > > > > >> >styleClass="forms"/>
> > > > > > > > > > > > > > > >> > </f:facet>
> > > > > > > > > > > > > > > >> > <h:inputText
> > > > > > value="#{values.field.value}"
> > > > > > > > > > > > > > > >> >rendered='#{values.field.active and
> > > > > > > > > > > > > > > values.field.isEditable
> > > > > > > > > > > > > > > >> and
> > > > > > > > > > > > > > > >> >values.field.tipoHTML!="COMBO"}'/>
> > > > > > > > > > > > > > > >> > </x:columns>
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >######################
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >public DataModel getValuesEmbque() {
> > > > > > > > > > > > > > > >> > if(valuesEmbque == null) {
> > > > > > > > > > > > > > > >> > valuesEmbque = new ArrayList();
> > > > > > > > > > > > > > > >> > valuesEmbque.add(new
> > > > > > RowData(this.getFieldsEmbque(),
> > > > > > > > > > > > > > > >> fieldsEmbque));
> > > > > > > > > > > > > > > >> > valuesEmbque.add(new
> > > > > > RowData(this.getFieldsEmbque(),
> > > > > > > > > > > > > > > >> fieldsEmbque1));
> > > > > > > > > > > > > > > >> >}}
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >public DataModel getFieldsEmbque() {
> > > > > > > > > > > > > > > >> > if(fieldsEmbqueModel == null) {
> > > > > > > > > > > > > > > >> > fieldsEmbqueModel = new ArrayDataModel
> > > > > > > > > > > > > > > (fieldsEmbque);
> > > > > > > > > > > > > > > >> > }
> > > > > > > > > > > > > > > >> > return fieldsEmbqueModel;
> > > > > > > > > > > > > > > >> > }
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >####################
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >public class RowData implements Serializable
> > {
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> > private DataModel model;
> > > > > > > > > > > > > > > >> > private Fields[] fields;
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> > public RowData(DataModel model, Fields[]
> > > > fields)
> > > > > {
> > > > > > > > > > > > > > > >> > this.model = model;
> > > > > > > > > > > > > > > >> > this.fields = fields;
> > > > > > > > > > > > > > > >> > }
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> > public Fields getField()
> > > > > > > > > > > > > > > >> > {
> > > > > > > > > > > > > > > >> > return fields[model.getRowIndex()];
> > > > > > > > > > > > > > > >> > }
> > > > > > > > > > > > > > > >> >}
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >###################
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >I am stuck for 2 days!!! Help me please ....
> > > > > > > > > > > > > > > >> >
> > > > > > > > > > > > > > > >> >Thanks.
> > > > > > > > > > > > > > > >> >Guedes
> > > > > > > > > > > > > > > >> Dennis Byrne
> > > > > > > > > > > > > > > >>
> > > > > > > > > > > > > > > Dennis Byrne
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > >
> > > > > > > > > > > > http://www.irian.at
> > > > > > > > > > > > Your JSF powerhouse -
> > > > > > > > > > > > JSF Trainings in English and German
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > >
> > > > > > > > > > http://www.irian.at
> > > > > > > > > > Your JSF powerhouse -
> > > > > > > > > > JSF Trainings in English and German
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > > > http://www.irian.at
> > > > > > > > Your JSF powerhouse -
> > > > > > > > JSF Trainings in English and German
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > http://www.irian.at
> > > > > > Your JSF powerhouse -
> > > > > > JSF Trainings in English and German
> > > > > >
> > > > >
> > > >
> > >
> >
> >
> > --
> >
> > http://www.irian.at
> > Your JSF powerhouse -
> > JSF Trainings in English and German
> >
>