IllegalStateException caused by InitPhaseListener.beforePhase
-------------------------------------------------------------
Key: RF-9064
URL:
https://jira.jboss.org/browse/RF-9064
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.3.Final
Environment: JBoss 6.0.0.M4
Reporter: Juergen Zimmermann
When I replace the Mojarra version inside JBoss 6.0.0.M4 by Mojarra 2.0.3, then my works
fine.
However, when I use Mojarra 2.0.4-b02 I get this stacktrace:
15:16:28,914 ERROR [org.ajax4jsf.webapp.BaseXMLFilter] Exception in the filter chain:
javax.servlet.ServletException: Unzulässiger Versuch, ViewHandler festzulegen, nachdem
eine Antwort erstellt wurde.
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:321) [:2.0.4-SNAPSHOT]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)
[:6.0.0.20100721-M4]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20100721-M4]
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206) [:3.3.3.Final]
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) [:3.3.3.Final]
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
[:3.3.3.Final]
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) [:3.3.3.Final]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20100721-M4]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20100721-M4]
at
org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63)
[:6.0.0.20100721-M4]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274)
[:6.0.0.20100721-M4]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)
[:6.0.0.20100721-M4]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
[:6.0.0.20100721-M4]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
[:6.0.0.20100721-M4]
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)
[:6.0.0.20100721-M4]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
[:6.0.0.20100721-M4]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)
[:1.1.0.CR3]
at
org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)
[:1.1.0.CR3]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)
[:6.0.0.20100721-M4]
at
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:93)
[:6.0.0.20100721-M4]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
[:6.0.0.20100721-M4]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
[:6.0.0.20100721-M4]
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
[:6.0.0.20100721-M4]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
[:6.0.0.20100721-M4]
at
org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)
[:6.0.0.20100721-M4]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)
[:6.0.0.20100721-M4]
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:893)
[:6.0.0.20100721-M4]
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:599)
[:6.0.0.20100721-M4]
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2024)
[:6.0.0.20100721-M4]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: java.lang.IllegalStateException: Unzulässiger Versuch, ViewHandler festzulegen,
nachdem eine Antwort erstellt wurde.
at com.sun.faces.application.ApplicationImpl.setViewHandler(ApplicationImpl.java:559)
[:2.0.4-SNAPSHOT]
at org.ajax4jsf.event.InitPhaseListener.beforePhase(InitPhaseListener.java:92)
[:3.3.3.Final]
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:224) [:2.0.4-SNAPSHOT]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:95) [:2.0.4-SNAPSHOT]
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:107)
[:2.0.4-SNAPSHOT]
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:114)
[:2.0.4-SNAPSHOT]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:308) [:2.0.4-SNAPSHOT]
... 29 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira