[
https://issues.jboss.org/browse/RF-13168?page=com.atlassian.jira.plugin.s...
]
Frank Langelage commented on RF-13168:
--------------------------------------
I tested with same WildFly sources, downgrading the used faces version by building with
-Dversion.com.sun.faces=2.2.5-jbossorg-1 and -Dversion.com.sun.faces=2.2.4-jbossorg-1.
Using latest Richfaces 5.0 snapshot.
With 2.2.5 the problem appears, with 2.2.4 it's gone.
Different than before, when creating this issue, this time I get a stacktrace:
{code:xml}
28.01. 23:26:30,376 SEVERE [org.richfaces.log.Context#logException] CDATA tags may not
nest: java.lang.IllegalStateException: CDATA tags may not nest
at
com.sun.faces.renderkit.html_basic.HtmlResponseWriter.startCDATA(HtmlResponseWriter.java:682)
[jsf-impl-2.2.5-jbossorg-2.jar:]
at javax.faces.context.ResponseWriterWrapper.startCDATA(ResponseWriterWrapper.java:179)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at org.openfaces.renderkit.table.TableBody.createRows(TableBody.java:150)
[openfaces.jar:3.1.EA1.1287]
at org.openfaces.renderkit.table.TableBody.renderRows(TableBody.java:125)
[openfaces.jar:3.1.EA1.1287]
at org.openfaces.renderkit.table.TableSection.render(TableSection.java:70)
[openfaces.jar:3.1.EA1.1287]
at org.openfaces.renderkit.table.TableStructure.render(TableStructure.java:242)
[openfaces.jar:3.1.EA1.1287]
at
org.openfaces.renderkit.table.AbstractTableRenderer.encodeBegin(AbstractTableRenderer.java:96)
[openfaces.jar:3.1.EA1.1287]
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:864)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.component.UIData.encodeBegin(UIData.java:1133)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at org.openfaces.component.OUIData.encodeBegin(OUIData.java:735)
[openfaces.jar:3.1.EA1.1287]
at org.openfaces.component.table.DataTable.encodeBegin(DataTable.java:291)
[openfaces.jar:3.1.EA1.1287]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1854)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at
org.richfaces.context.PartialViewRenderVisitCallback.visit(PartialViewRenderVisitCallback.java:81)
[richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
at
org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:322)
[richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
at org.openfaces.component.OUIData.visitTree(OUIData.java:1142)
[openfaces.jar:3.1.EA1.1287]
at org.openfaces.component.table.AbstractTable.visitTree(AbstractTable.java:368)
[openfaces.jar:3.1.EA1.1287]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.component.UIForm.visitTree(UIForm.java:362)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at
org.richfaces.context.ExtendedPartialViewContextImpl.processPartialRenderPhase(ExtendedPartialViewContextImpl.java:354)
[richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
at
org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:140)
[richfaces-5.0.0-SNAPSHOT.jar:5.0.0-SNAPSHOT]
at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:1004)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at
com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:435)
[jsf-impl-2.2.5-jbossorg-2.jar:]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133)
[jsf-impl-2.2.5-jbossorg-2.jar:]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
[jsf-impl-2.2.5-jbossorg-2.jar:]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
[jsf-impl-2.2.5-jbossorg-2.jar:]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
[jsf-impl-2.2.5-jbossorg-2.jar:]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)
[jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at org.openfaces.util.ResourceFilter.doFilter(ResourceFilter.java:41)
[openfaces.jar:3.1.EA1.1287]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at biz.mbisoftware.web.utility.NoCacheFilter.doFilter(NoCacheFilter.java:38) [classes:]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:70)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:69)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:69)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at
org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:101)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at
io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)
[undertow-servlet-1.0.0.Beta33.jar:1.0.0.Beta33]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:685)
[undertow-core-1.0.0.Beta33.jar:1.0.0.Beta33]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_60-ea]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_60-ea]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_60-ea]
{code}
3rd party JSF component disappears on RichFaces ajax refresh
------------------------------------------------------------
Key: RF-13168
URL:
https://issues.jboss.org/browse/RF-13168
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: compatibility, component-a4j-core
Reporter: Frank Langelage
Assignee: Lukáš Fryč
Labels: interop, jsf22
Fix For: 5.0.0.Alpha3
Attachments: install-mojarra-2.1.19.cli, Jira-WFLY-UT.tar, xaa, xab, xac
Original Estimate: 1 hour
Remaining Estimate: 1 hour
On some of my pages I'm using richfaces a4j:poll to refresh components regularly. The
components refreshed is an openfaces datatable.
This does not work with WildFly build from current sources.
Same code works with JBoss AS 7.20. So problem is not related to richfaces or openfaces
for me. Probably related to replacement of jboss-web with undertow.
I'll attach a small project showing the problem.
The mojarra datatable works fine, is refreshed every 10 seconds.
The openfaces datatable below disappears on first refresh.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira