[
https://issues.jboss.org/browse/RF-13685?page=com.atlassian.jira.plugin.s...
]
Frank Langelage commented on RF-13685:
--------------------------------------
I was using 5.0.0. After some searching I found a 4.5.0-SNAPSHOT as of today.
But same error occurs here:
{code}
20.06. 00:01:08,896 ERROR [io.undertow.request#handleFirstRequest] UT005023: Exception
handling request to /web-maj2e-langfr-dev/Login.xhtml: java.lang.RuntimeException:
java.lang.IllegalStateException
at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:182)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.security.ServletFormAuthenticationMechanism.servePage(ServletFormAuthenticationMechanism.java:85)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.impl.FormAuthenticationMechanism.sendChallenge(FormAuthenticationMechanism.java:158)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:330)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.impl.SecurityContextImpl$ChallengeSender.transition(SecurityContextImpl.java:349)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.impl.SecurityContextImpl$ChallengeSender.access$300(SecurityContextImpl.java:314)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.impl.SecurityContextImpl.sendChallenges(SecurityContextImpl.java:135)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:109)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:114)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:99)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:54)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:27)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:243)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:230)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:149)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:195)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:733)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_60]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
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:229)
[richfaces-core-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at
org.richfaces.context.ExtendedPartialViewContext.release(ExtendedPartialViewContext.java:587)
[richfaces-core-4.5.0-SNAPSHOT.jar:4.5.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]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:82)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
[undertow-core-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:232)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:175)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:159)
[undertow-servlet-1.1.0.Beta2.jar:1.1.0.Beta2]
... 32 more
{code}
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: 5.0.0.Alpha3
Reporter: Frank Langelage
Labels: waiting_on_user
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}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)