]
Brian Leathem commented on RF-13685:
------------------------------------
Thanks Frank. I built wildfly from source and was able to reproduce the problem. I
deployed the showcase to the wildfly 9 SNAPSHOT, and triggered the error by navigating to
the CDI Push _Messages Consumer_ page.
ExtendedPartialViewContext.release causes IllegalStateException
---------------------------------------------------------------
Key: RF-13685
URL:
https://issues.jboss.org/browse/RF-13685
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.5.0.Alpha3, 5.0.0.Alpha3
Reporter: Frank Langelage
Fix For: 4.5.0.Alpha3
When using latest WildFly 9.0-SNAPSHOT including JSF 2.2.7 I get an exception immediately
after login from my web-app which is using richfaces-5.0.0-SNAPSHOT.
According to Farah Juma this is an error in RichFaces which comes up now because of a
fix in JSF:
"This is a bug in RichFaces that was introduced by this recent Mojarra fix:
https://java.net/jira/browse/JAVASERVERFACES-3203
The RichFaces ExtendedPartialViewContext class just needs to be updated
accordingly."
Stacktrace fragment:
{code}
Caused by: java.lang.IllegalStateException
at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:705)
[jsf-impl-2.2.7-jbossorg-1.jar:]
at com.sun.faces.context.FacesContextImpl.getAttributes(FacesContextImpl.java:237)
[jsf-impl-2.2.7-jbossorg-1.jar:]
at
org.richfaces.context.ExtendedPartialViewContext.setInstance(ExtendedPartialViewContext.java:55)
[richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
at
org.richfaces.context.ExtendedPartialViewContext.release(ExtendedPartialViewContext.java:64)
[richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
at
org.richfaces.context.ExtendedPartialViewContextImpl.release(ExtendedPartialViewContextImpl.java:473)
[richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
at com.sun.faces.context.FacesContextImpl.release(FacesContextImpl.java:591)
[jsf-impl-2.2.7-jbossorg-1.jar:]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:665)
[jboss-jsf-api_2.2_spec-2.2.7.jar:2.2.7]
{code}