Hi Matthias,
 
and all my apologizes for this long "offline time".
 
You are totally right. I've migrated to 1.1.4 and the issue seems to ... have been fixed.
 
That's great!
 
Another question.
Do you know what is the real impact of the "org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION" config key. The wiki is quite enigmatic about this.
 
Will the problem ("null value not allowed") reappear if I decide to turn that config to ... "0"! I'm really interested in that issue because I'm not convinced of the need to maintain 20 views per view per user on a single site.
Suppose an average view compound by :
  • a table of 10 columns * 300 rows 
  • + some other uiOutput and uiInputs (just say 10 for example).
If the site has 3 pages like this one and expects to accomodate  a 100 simultaneous active sessions, we easly guess the memory usage footprint.
 
TIA for your opinion.
 
Harry.
 


 
2006/10/5, Matthias Wessendorf <[EMAIL PROTECTED]>:
No,

that is the ugly myfaces 1.13 bug

please use 1.1.4 !

Thx,


On 10/5/06, Jeff Bischoff < [EMAIL PROTECTED]> wrote:
> Looks like you're trying to serialize something that is null.
>
> Are you sure this isn't coming from your code?
>
>  > at com.calyon.emtn.filter.SessionFilter.doFilter(SessionFilter.java:39)
>
> Regards,
>
> Jeff Bischoff
> Kenneth L Kurz & Associates, Inc.
>
> Harry Co wrote:
> > Hi all,
> > I'm experiencing odd behaviour with myFaces 1.1.3 tomahawk 1.1.2 and
> > facelets 1.1.4 application.
> >
> > Randomly while navigating, NullPointerException occurs.
> > The stacktrace is quite short:
> >
> >         java.lang.NullPointerException: null values not allowed
> >          at
> >         org.apache.commons.collections.map.AbstractReferenceMap.put(AbstractReferenceMap.java :251)
> >          at
> >         org.apache.myfaces.application.jsp.JspStateManagerImpl$SerializedViewCollection.add
> >         (JspStateManagerImpl.java:717)
> >          at
> >         org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedViewInServletSession(JspStateManagerImpl.java:493)
> >          at
> >         org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView
> >         (JspStateManagerImpl.java:332)
> >          at
> >         com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
> >          at
> >         org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
> >          at javax.faces.webapp.FacesServlet.service (FacesServlet.java:138)
> >          at
> >         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:252)
> >          at
> >         org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >
> >          at
> >         com.calyon.emtn.filter.SessionFilter.doFilter(SessionFilter.java:39)
> >          at
> >         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> >          at org.apache.catalina.core.ApplicationFilterChain.doFilter
> >         (ApplicationFilterChain.java:173)
> >          at
> >         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java :144)
> >          at
> >         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
> >         :202)
> >          at
> >         org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:173)
> >          at
> >         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
> >          at
> >         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> >         (ApplicationFilterChain.java:202)
> >          at
> >         org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> >          at
> >         org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> >
> >          at
> >         org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java :178)
> >          at
> >         org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
> >          at
> >         org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
> >         (SecurityAssociationValve.java:153)
> >          at
> >         org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
> >          at
> >         org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> >          at org.apache.catalina.valves.ErrorReportValve.invoke
> >         (ErrorReportValve.java:105)
> >          at
> >         org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> >          at
> >         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >          at org.apache.coyote.http11.Http11Processor.process
> >         (Http11Processor.java:856)
> >          at
> >         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection (Http11Protocol.java:744)
> >          at
> >         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java
> >         :527)
> >          at
> >         org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
> >          at java.lang.Thread.run(Thread.java:534)
> >
> >
> >
> > I've found some trail on the apache mailing list archive but nothing
> > concrete ( discussion trail
> > <http://mail-archives.apache.org/mod_mbox/myfaces-users/200608.mbox/[EMAIL PROTECTED] >)
> >
> > Has anyone seen that?
> >
> > TIA for your good ideas!
> >
> > Harry,
> >
> >
>
>
>


--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to