myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Consumi <cons...@istitutodeglinnocenti.it>
Subject tomahawk 1.1.x and filter error
Date Wed, 17 May 2006 16:36:04 GMT

Hi all,

I upgraded from 1.1.1 to 1.1.x some our internal web app. I' m using  
JDK 1.5.0_06 and Tomcat 5.5.17, myfaces-1.1.3, Tomahawk 1.1.2 and  
1.1.3-snapshot (I obtain same error with two versions), sandbox last  
snapshot.

with myfaces-1.1.1 everything was working.

With 1.1.x, after some working action launch, I receive this error:

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.el_005fclifor_jsp._jspx_meth_f_view_0(el_005fclifor_jsp.java:215)
         at  
org.apache.jsp.el_005fclifor_jsp._jspService(el_005fclifor_jsp.java:155)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at  
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at  
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at  
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at  
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at  
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         at  
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at  
org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:76)
         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  
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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         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:869)
         at  
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at  
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at  
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
17-mag-2006 18.35.12 org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: Servlet.service() for servlet Faces Servlet threw exception
javax.faces.FacesException: null values not allowed
         at  
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:435)
         at  
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
         at  
org.jenia.faces.template.handler.ViewHandler.renderView(ViewHandler.java:76)
         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  
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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         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:869)
         at  
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at  
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at  
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
Caused by: 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.el_005fclifor_jsp._jspx_meth_f_view_0(el_005fclifor_jsp.java:215)
         at  
org.apache.jsp.el_005fclifor_jsp._jspService(el_005fclifor_jsp.java:155)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at  
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at  
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at  
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at  
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at  
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
         ... 21 more


....and from this point I must close app because every attempt to use  
jsCookMenu  items returns this error:


17-mag-2006 18.38.54 org.apache.myfaces.lifecycle.PhaseListenerManager  
informPhaseListenersAfter
GRAVE: Exception in PhaseListener RENDER_RESPONSE(6) afterPhase
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.renderkit.html.util.DummyFormUtils.writeDummyForm(DummyFormUtils.java:153)
         at  
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.writeCodeBeforeBodyEnd(ExtensionsPhaseListener.java:112)
         at  
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.getCodeBeforeBodyEnd(ExtensionsPhaseListener.java:96)
         at  
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.renderCodeBeforeBodyEnd(ExtensionsPhaseListener.java:86)
         at  
org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener.afterPhase(ExtensionsPhaseListener.java:66)
         at  
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
         at  
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391)
         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  
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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         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:869)
         at  
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at  
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at  
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
17-mag-2006 18.38.54  
org.apache.myfaces.renderkit.html.util.DefaultAddResource  
writeMyFacesJavascriptBeforeBodyEnd
AVVERTENZA: MyFaces special javascript could not be retrieved from  
request-map.


suggestions ?
thanks

-- 
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133



Mime
View raw message