myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Sichhart (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-1296) NullpointerException in JspStateManager
Date Tue, 02 May 2006 11:51:47 GMT
    [ http://issues.apache.org/jira/browse/MYFACES-1296?page=comments#action_12377383 ] 

Stephan Sichhart commented on MYFACES-1296:
-------------------------------------------

With the lastet version the problem is fixed in my case. Thanks a lot, for your quick response
Mario.

regards, Stephan

> NullpointerException in JspStateManager
> ---------------------------------------
>
>          Key: MYFACES-1296
>          URL: http://issues.apache.org/jira/browse/MYFACES-1296
>      Project: MyFaces Core
>         Type: Bug

>   Components: General
>     Versions: 1.1.2
>  Environment: JBoss 4.0.1, Tomcat 5
>     Reporter: Stephan Sichhart
>     Priority: Critical
>      Fix For: 1.1.3-SNAPSHOT, 1.1.4-SNAPSHOT

>
> Hi,
> I'm having trouble using the 1.1.2 release and latest nightly build. If I do some massive
clicking with the sample application, I get after 30-50 clicks an NPE within the JspStateManager.
In my own app. I get this error after 10 page request.
> This problem only occurs, if I use server state saving. I figured out, that if I increase
the org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION parameter to a large (500) value, the error
does not occur or does not occur yet :-)
> I can reproduce this error every time. There is an resolved issue on jira (http://issues.apache.org/jira/browse/MYFACES-1278),
which explains exactly my problem. This issue was closed. After discussing the problem with
Juergen Melzer, he confirmed that the problem is still there. 
> regards,
> Stephan
> 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 org.apache.myfaces.taglib.core.ViewTag.doAfterBody(ViewTag.java:122)
>    at org.apache.jsp.home_jsp._jspx_meth_f_view_0(home_jsp.java:153)
>    at org.apache.jsp.home_jsp._jspService(home_jsp.java:102)
>    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
>    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
>    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
>    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
>    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
>    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
>    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
>    at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
>    at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
>    at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:367)
>    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.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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
>    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.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
>    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
>    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
>    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
>    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.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(Thread.java:534)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message