myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: somebody have seen this error?
Date Fri, 15 Sep 2006 21:28:37 GMT
Maybe you're t:saveStating a bean with UIComponents as instance
variables?   Declare them as "private transient UIComponent
componentBinding;" instead.

On 9/15/06, Rogerio Pereira <rogerio.araujo@gmail.com> wrote:
> I'm trying to find where this class is being used in my app:
>
> javax.faces.FacesException:
> java.io.NotSerializableException:
> java.util.RandomAccessSubList
>
>  at
> org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:191)
>  at
> org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:151)
>  at
> org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState
> (HtmlResponseStateManager.java:105)
>  at
> org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:428)
>  at
> com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:606)
>
>  at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:383)
>  at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:237)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>  at
> org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
>
>  at
> org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:157)
>  at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
> :186)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext
> (StandardValveContext.java:104)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at
> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:520)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:118)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:109)
>  at
> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
>  at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
>  at org.apache.catalina.core.ContainerBase.invoke
> (ContainerBase.java:929)
>  at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>  at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>  at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> (Http11Protocol.java:705)
>  at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>  at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>  at java.lang.Thread.run
> (Unknown Source)
> Caused by: java.io.NotSerializableException:
> java.util.RandomAccessSubList
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> Source)
>
>  at java.io.ObjectOutputStream.writeSerialData(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.defaultWriteFields
> (Unknown Source)
>  at java.io.ObjectOutputStream.writeSerialData(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at
> java.io.ObjectOutputStream.writeObject(Unknown Source)
>  at java.util.ArrayList.writeObject(Unknown Source)
>  at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown
> Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (Unknown Source)
>  at java.lang.reflect.Method.invoke(Unknown Source)
>  at java.io.ObjectStreamClass.invokeWriteObject(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeSerialData(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeOrdinaryObject
> (Unknown Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.defaultWriteFields(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeSerialData(Unknown
> Source)
>  at
> java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.writeObject(Unknown Source)
>  at java.util.ArrayList.writeObject
> (Unknown Source)
>  at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown
> Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>  at java.lang.reflect.Method.invoke(Unknown Source)
>  at java.io.ObjectStreamClass.invokeWriteObject
> (Unknown Source)
>  at java.io.ObjectOutputStream.writeSerialData(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at
> java.io.ObjectOutputStream.defaultWriteFields(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeSerialData(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeObject0
> (Unknown Source)
>  at java.io.ObjectOutputStream.writeArray(Unknown Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.writeArray(Unknown Source)
>  at java.io.ObjectOutputStream.writeObject0
> (Unknown Source)
>  at java.io.ObjectOutputStream.writeObject(Unknown Source)
>  at java.util.ArrayList.writeObject(Unknown Source)
>  at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown
> Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (Unknown Source)
>  at java.lang.reflect.Method.invoke(Unknown Source)
>  at java.io.ObjectStreamClass.invokeWriteObject(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeSerialData(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeOrdinaryObject
> (Unknown Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.writeArray(Unknown Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.writeObject
> (Unknown Source)
>  at java.util.ArrayList.writeObject(Unknown Source)
>  at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown
> Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>  at java.lang.reflect.Method.invoke
> (Unknown Source)
>  at java.io.ObjectStreamClass.invokeWriteObject(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeSerialData(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.writeArray(Unknown Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.writeObject
> (Unknown Source)
>  at java.util.ArrayList.writeObject(Unknown Source)
>  at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown
> Source)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>  at java.lang.reflect.Method.invoke
> (Unknown Source)
>  at java.io.ObjectStreamClass.invokeWriteObject(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeSerialData(Unknown
> Source)
>  at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown
> Source)
>
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.writeArray(Unknown Source)
>  at java.io.ObjectOutputStream.writeObject0(Unknown Source)
>  at java.io.ObjectOutputStream.writeObject
> (Unknown Source)
>  at
> org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:181)
>  ... 37 more
>
>
> Any ideas?
>
> --
> Yours truly (Atenciosamente),
>
> Rogério (_rogerio_)
> http://faces.eti.br

Mime
View raw message